ouidade 1 неделя назад
Родитель
Сommit
196e59d76a

+ 6 - 2
web/themes/custom/eql/dist/assets/css/bundle.css

@@ -6646,6 +6646,9 @@ article.node-type-ressource .ext {
 article.node-type-ressource svg.ext {
   display: none;
 }
+article.node-type-ressource.type-publications-issues-du-programme-eqld {
+  min-width: 300px;
+}
 article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource {
   display: grid;
   grid-template-columns: 1fr 1.8fr;
@@ -6781,6 +6784,7 @@ article.node-type-ressource .wrapper-ressource .field--name-field-sous-titre {
   font-weight: 900;
 }
 article.node-type-ressource .wrapper-ressource .field--name-field-edition {
+  order: 7;
   grid-column: 2;
   margin-top: 0.5rem;
 }
@@ -6805,10 +6809,10 @@ article.node-type-ressource .wrapper-ressource .field--name-field-images img {
 article.node-type-ressource .wrapper-ressource .field--name-field-date-de-parution {
   grid-column: 2;
   margin-top: 0.3rem;
-  order: 7;
+  order: 8;
 }
 article.node-type-ressource .wrapper-ressource .field--name-field-mots-clefs {
-  order: 8;
+  order: 9;
   grid-column: 2;
   display: flex;
   margin-top: 1rem;

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

@@ -1,7 +1,6 @@
 article.node-type-ressource{
     margin-bottom: 1rem ;
     padding-right: 1rem;  
-    // min-width: 300px;
     h2{text-align: left !important}
     .ext{
         color: black;
@@ -11,6 +10,8 @@ article.node-type-ressource{
     }
     &.type-publications-issues-du-programme-eqld{
         // background-color: $background-actus;
+            min-width: 300px;
+
         .wrapper-ressource{
             display: grid;
             grid-template-columns: 1fr 1.8fr; 
@@ -84,7 +85,6 @@ article.node-type-ressource{
                 order: 3;
             }
             .field--name-title{
-                
             }
             .field--name-field-sous-titre{
             }
@@ -166,6 +166,7 @@ article.node-type-ressource{
             font-weight: 900;
         }
         .field--name-field-edition{
+            order: 7;
             grid-column: 2;
             margin-top: 0.5rem;
             p{
@@ -190,10 +191,10 @@ article.node-type-ressource{
         .field--name-field-date-de-parution{
             grid-column: 2;
             margin-top: 0.3rem;
-            order: 7;
+            order: 8;
         }
         .field--name-field-mots-clefs{
-            order: 8;
+            order: 9;
             grid-column: 2;
             display: flex;
             margin-top: 1rem;
@@ -219,6 +220,7 @@ article.node-type-ressource{
                 }
             }
         }
+
         ul.links.inline{
             display: none;
         }