ソースを参照

fix margin static page

ouidade 3 年 前
コミット
64e537f361

+ 2 - 0
web/themes/custom/eql/css-compiled/styles.css

@@ -218,6 +218,7 @@ a {
           text-decoration: underline; }
 
 .path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes {
+  margin-top: 1rem;
   background-color: white; }
   .path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes .field--name-field-titre {
     font-size: 1.5rem;
@@ -238,6 +239,7 @@ a {
     margin-top: 0; }
 
 .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third {
+  margin-top: 1rem;
   display: flex;
   flex-direction: column;
   width: 70%; }

+ 1 - 1
web/themes/custom/eql/eql.libraries.yml

@@ -1,7 +1,7 @@
 global-css:
   css:
     theme:
-       css-compiled/styles.css: {}
+       css-compiled/prefixed/styles.css: {}
 global-js:
   js:
     scripts/main.js: {}

+ 2 - 1
web/themes/custom/eql/scss/pages/_static.scss

@@ -65,7 +65,7 @@
                 
                 .layout__region--second{            // paragraphe texte
                     .block-entity-fieldnodefield-textes{
-                
+                        margin-top: 1rem;
                         background-color: $white;
                         .field--name-field-titre{
                             font-size: 1.5rem;
@@ -96,6 +96,7 @@
                 
                 .layout__region--third{     // colone de droite fichiers et ressources liées
                     .block-region-third{
+                        margin-top: 1rem;
                         display: flex;
                         flex-direction: column;
                         width: 70%;