From 18f606d23d756e725c6b97f766a7dcbab4229375 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 16 Dec 2021 18:56:23 +0100 Subject: Better indication if list items have been omitted --- assets/css/layouts/_card-list.scss | 3 ++- templates/layouts/categorized_list.html | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/assets/css/layouts/_card-list.scss b/assets/css/layouts/_card-list.scss index 3bbcc44..5642374 100644 --- a/assets/css/layouts/_card-list.scss +++ b/assets/css/layouts/_card-list.scss @@ -14,6 +14,7 @@ flex-direction: column; gap: 2px; margin-top: $line-height * .625rem; + margin-bottom: $line-height * .625rem; filter: drop-shadow(#{prop(--dims --obj-shadow, $global: true)} #{prop(--colors --obj-shadow, $global: true)}); @include modifier('grid', 'gallery') { @@ -26,7 +27,7 @@ } @include modifier('gallery') { - gap: 30px; + gap: 20px; } @media print { diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 7bbfd8c..2f61f18 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -8,10 +8,7 @@ $body$ $for(list)$
$if(it.description)$ @@ -29,6 +26,13 @@ $body$ $it.items:partials/list_card()$ $endif$ + $if(it.omitted)$ + + $endif$
$endfor$ -- cgit v1.2.3-70-g09d2