Update funzioni.php

css tweak
This commit is contained in:
Daniel Intrieri 2024-02-15 09:28:02 +01:00 committed by GitHub
parent 24fed1cfb1
commit 7c3bcad24b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 6 deletions

View File

@ -83,14 +83,12 @@ function generacssmodal (){
text-align:center; text-align:center;
} }
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 600px) {
canvas { canvas {
margin-top:50px; margin-top:50px;
} }
.button-container { .button-container {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding: 10px; padding: 10px;
@ -119,12 +117,22 @@ margin-top:15px;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
@media only screen and (max-width: 600px) {
.menu-modal-content {
width:100%;
}
}
@media only screen and (min-width: 600px) {
.menu-modal-content {
width:80%;
}
}
/* Contenuto modal */ /* Contenuto modal */
.menu-modal-content { .menu-modal-content {
background-color: #fff; background-color: #fff;
width: 80%;
height: 100%; height: 100%;
position: relative; position: relative;