From 7f7cbb9c7e4f93a3f5af52c7f0912ca0ea14a661 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 20 Jan 2021 12:13:57 +0100 Subject: [PATCH] fixed linked materials display --- web/themes/custom/materiotheme/assets/dist/main.css | 5 +++-- web/themes/custom/materiotheme/assets/styles/main.scss | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/web/themes/custom/materiotheme/assets/dist/main.css b/web/themes/custom/materiotheme/assets/dist/main.css index 5ff98e3..ae042fc 100644 --- a/web/themes/custom/materiotheme/assets/dist/main.css +++ b/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 { diff --git a/web/themes/custom/materiotheme/assets/styles/main.scss b/web/themes/custom/materiotheme/assets/styles/main.scss index 2e51e03..42b883a 100644 --- a/web/themes/custom/materiotheme/assets/styles/main.scss +++ b/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{