ソースを参照

width ressource teaser

ouidade 1 ヶ月 前
コミット
381758e808

+ 5 - 3
web/themes/custom/eql/dist/assets/css/bundle.css

@@ -5651,6 +5651,9 @@ svg.ext {
   align-items: center;
   font-size: 1.7rem;
 }
+.path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-content .view-type-slide:not(footer) h3.type-publications-issues-du-programme-eqld {
+  border: none;
+}
 .path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-content .view-type-slide:not(footer) h3.type-publications-issues-du-programme-eqld:before {
   content: url("../images/pictos/picto-ressource-eqld.svg");
   padding-right: 1rem;
@@ -5699,8 +5702,8 @@ svg.ext {
   flex-direction: row;
 }
 .path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-content .view-type-slide:not(footer) .views-row-wrapper .slick-track .views-row {
-  width: 45% !important;
-  min-width: 450px !important;
+  width: 20% !important;
+  min-width: 250px !important;
   max-width: 500px !important;
 }
 @media (max-width: 810px) {
@@ -6633,7 +6636,6 @@ html.js body.node-type-actualite.node-id-88.path-node.page-node-type-actualite d
 article.node-type-ressource {
   margin-bottom: 1rem;
   padding-right: 1rem;
-  min-width: 300px;
 }
 article.node-type-ressource h2 {
   text-align: left !important;

+ 3 - 2
web/themes/custom/eql/scss/pages/ressources.scss

@@ -421,6 +421,7 @@
                                                 font-size: 1.7rem;
                                             }
                                             h3.type-publications-issues-du-programme-eqld {
+                                                border: none;
                                                 &:before{
                                                     content:url("../images/pictos/picto-ressource-eqld.svg");
                                                     padding-right: 1rem;
@@ -478,8 +479,8 @@
                                                     flex-direction: row;
                                                 
                                                     .views-row{
-                                                        width: 45% !important;
-                                                        min-width: 450px !important;
+                                                        width: 20% !important;
+                                                        min-width: 250px !important;
                                                         max-width: 500px !important;
                                                     }
                                                 }

+ 1 - 1
web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss

@@ -1,7 +1,7 @@
 article.node-type-ressource{
     margin-bottom: 1rem ;
     padding-right: 1rem;  
-    min-width: 300px;
+    // min-width: 300px;
     h2{text-align: left !important}
     .ext{
         color: black;