From 196e59d76a348761129195afd00114416cc64034 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 30 May 2025 22:15:05 +0200 Subject: [PATCH] ressource type width --- web/themes/custom/eql/dist/assets/css/bundle.css | 8 ++++++-- .../eql/scss/partials/_node-type-ressource-teaser.scss | 10 ++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/web/themes/custom/eql/dist/assets/css/bundle.css b/web/themes/custom/eql/dist/assets/css/bundle.css index cd5e486..809f0e9 100644 --- a/web/themes/custom/eql/dist/assets/css/bundle.css +++ b/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; diff --git a/web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss b/web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss index 8bd7ff7..3ecf7d1 100644 --- a/web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss +++ b/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; }