TelegramPWA/src/components/main/GameModal.scss
2023-10-11 16:45:16 +02:00

49 lines
758 B
SCSS

.GameModal {
.modal-dialog {
max-width: 80%;
height: 100%;
justify-content: center;
background-color: transparent;
border: none;
box-shadow: none;
margin: 0;
}
.modal-header {
display: none;
}
.modal-content {
overflow: hidden;
}
.game-frame {
width: 100%;
height: 100%;
border: 0;
border-radius: var(--border-radius-modal);
}
@media (max-width: 600px) {
.modal-dialog {
background-color: var(--color-background);
max-width: 100% !important;
border-radius: 0;
}
.modal-header {
display: flex;
padding: 0.5rem;
}
.modal-content {
max-height: none;
padding: 0;
}
.game-frame {
border-radius: 0;
}
}
}