ouidade 3 лет назад
Родитель
Сommit
379eebde7f

+ 6 - 5
web/themes/custom/eql/css-compiled/styles.css

@@ -322,7 +322,8 @@ a {
           margin-top: 4rem;
           margin-bottom: 0; }
         .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche span {
-          background-color: white; }
+          background-color: white;
+          line-height: 2rem; }
       .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title {
         grid-column: 4;
         grid-row: 2;
@@ -363,12 +364,11 @@ a {
     grid-row: 1;
     align-self: end;
     margin-bottom: 2.5rem;
-    width: fit-content; }
+    max-width: 25%;
+    min-width: fit-content; }
     .path-frontpage .block-region-content .block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca .field--type-link {
       grid-column: 3;
       position: relative;
-      max-width: 70%;
-      min-width: fit-content;
       height: 1.5rem;
       padding: 0.4rem 1rem;
       font-size: 0.8rem;
@@ -504,7 +504,8 @@ a {
     grid-area: actus;
     grid-row: 4;
     grid-column: 5 / span 6;
-    width: fit-content;
+    max-width: 50%;
+    min-width: fit-content;
     margin-bottom: 2rem;
     align-self: end; }
     .path-frontpage .block-region-content .block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2 .field--type-link {

+ 7 - 5
web/themes/custom/eql/scss/pages/_home.scss

@@ -51,7 +51,7 @@
 
                         span {
                             background-color: $white;
-
+                            line-height: 2rem;
                         }
 
                     }
@@ -112,14 +112,15 @@
             grid-row: 1;
             align-self: end;
             margin-bottom: 2.5rem;
-            width: fit-content;
+            max-width: 25%;
+            min-width: fit-content;
         
             .field--type-link {
                 grid-column: 3;
                 // justify-self: end;
                 position: relative;
-                max-width: 70%;
-                min-width: fit-content;
+                // max-width: 70%;
+                // min-width: fit-content;
                 height: 1.5rem;
                 padding: 0.4rem 1rem;
                 font-size: 0.8rem;
@@ -295,7 +296,8 @@
             grid-area: actus;
             grid-row: 4;
             grid-column: 5 / span 6;
-            width: fit-content;
+            max-width: 50%;
+            min-width: fit-content;
             margin-bottom: 2rem; 
             align-self: end;               
             .field--type-link {