Browse Source

css lien home

ouidade 6 months ago
parent
commit
a32ceaa462

+ 7 - 1
web/themes/custom/reha/css/reha.css

@@ -397,7 +397,13 @@ header {
               height: fit-content; } }
           @media (max-width: 500px) {
             header .region-header #block-reha-config-pages .contacts .contacts-full {
-              width: -moz-available; } }
+              width: 100%;
+              width: -moz-available;
+              /* For Mozzila */
+              width: -webkit-fill-available;
+              /* For Chrome */
+              width: stretch;
+              /* Unprefixed */ } }
           header .region-header #block-reha-config-pages .contacts .contacts-full .titre {
             padding-left: 3rem; }
             @media (max-width: 500px) {

+ 4 - 2
web/themes/custom/reha/scss/partials/_header.scss

@@ -249,8 +249,10 @@ header{
                         height: fit-content;
                     }
                     @media (max-width:500px) {
-                        
-                            width: -moz-available;
+                            width: 100%;
+                            width: -moz-available;          /* For Mozzila */
+                            width: -webkit-fill-available;  /* For Chrome */
+                            width: stretch;                 /* Unprefixed */
                         
                     }