From 7c3bcad24b8cf64369a34054c4637014c9fb93da Mon Sep 17 00:00:00 2001 From: Daniel Intrieri <119604034+Twindrillss@users.noreply.github.com> Date: Thu, 15 Feb 2024 09:28:02 +0100 Subject: [PATCH] Update funzioni.php css tweak --- funzioni.php | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/funzioni.php b/funzioni.php index 9c0eec7..34449aa 100644 --- a/funzioni.php +++ b/funzioni.php @@ -83,14 +83,12 @@ function generacssmodal (){ text-align:center; } - - @media only screen and (max-width: 600px) { - +@media only screen and (max-width: 600px) { canvas { margin-top:50px; } - .button-container { +.button-container { display: flex; justify-content: space-between; padding: 10px; @@ -119,12 +117,22 @@ margin-top:15px; justify-content: 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 */ .menu-modal-content { background-color: #fff; - width: 80%; - height: 100%; position: relative;