Browse Source

fixed linked materials display

bach 1 month ago
parent
commit
7f7cbb9c7e

+ 3 - 2
web/themes/custom/materiotheme/assets/dist/main.css

@@ -2001,10 +2001,11 @@ article.card {
       margin: 0 0 0.5em; }
     article.card.modal-card section.col-right section.linked-materials {
       display: flex;
-      flex-flow: row;
+      flex-flow: row wrap;
       justify-content: space-between; }
       article.card.modal-card section.col-right section.linked-materials > article.linkedmaterialcard {
-        flex-basis: 0 0 50%; }
+        flex-basis: 0 0 50%;
+        margin-bottom: 0.5em; }
     article.card.modal-card section.col-right nav.tools {
       opacity: 1; }
       article.card.modal-card section.col-right nav.tools section.close span.btn.mdi-close {

+ 2 - 1
web/themes/custom/materiotheme/assets/styles/main.scss

@@ -1179,10 +1179,11 @@ article.card{
       }
       section.linked-materials{
         display: flex;
-        flex-flow: row;
+        flex-flow: row wrap;
         justify-content: space-between;
         >article.linkedmaterialcard{
           flex-basis: 0 0 50%;
+          margin-bottom: 0.5em;
         }
       }
       nav.tools{