瀏覽代碼

responsive bdd

ouidade 2 年之前
父節點
當前提交
2f7bf9dc11
共有 2 個文件被更改,包括 5 次插入8 次删除
  1. 2 4
      web/themes/custom/eql/css-compiled/styles.css
  2. 3 4
      web/themes/custom/eql/scss/pages/_ressource.scss

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

@@ -1780,7 +1780,8 @@ a {
   margin-top: 3rem; }
   @media (max-width: 810px) {
     .page-node-type-ressource .layout__region--third {
-      flex: 0 1 100%; } }
+      flex: 0 1 80%;
+      margin-left: 10%; } }
   .page-node-type-ressource .layout__region--third .block-region-third {
     display: flex;
     flex-direction: column;
@@ -1902,9 +1903,6 @@ a {
               display: inline-flex; }
         .page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .field--name-field-ress .node-type-ressource ul.links.inline {
           display: none; }
-    @media (max-width: 810px) {
-      .page-node-type-ressource .layout__region--third .block-region-third {
-        margin: auto; } }
 
 .offresdeservices .layout-content .region-content #block-contenudelapageprincipale span {
   padding-top: 3rem;

+ 3 - 4
web/themes/custom/eql/scss/pages/_ressource.scss

@@ -180,7 +180,8 @@
         .layout__region--third{     // colone de droite fichiers et ressources liées
             margin-top: 3rem;
             @media (max-width: 810px){
-                flex: 0 1 100%;
+                flex: 0 1 80%;
+                margin-left: 10%;
             }
             .block-region-third{
                 display: flex;
@@ -366,9 +367,7 @@
             
 
                 }
-                @media (max-width: 810px){
-                    margin: auto;
-                }
+               
             
             }