From 2db8f2eb1d9ee5db81e607fee0c3e76c4d09d1e4 Mon Sep 17 00:00:00 2001 From: Jean-Marie 'Histausse' Mineau Date: Tue, 21 Apr 2026 11:33:52 +0200 Subject: [PATCH] tweak summary card style --- lib/summary.typ | 5 +++-- test_template/main.typ | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/summary.typ b/lib/summary.typ index 0685db9..7596b9b 100644 --- a/lib/summary.typ +++ b/lib/summary.typ @@ -36,7 +36,7 @@ summary-card-description { display: flex; flex-direction: column; - text-align: left; + text-align: justify; height: 100%; h3 { @@ -45,8 +45,9 @@ } summary-card-details { + text-align: left; margin-top: auto; - padding-top: 0.5em; + padding-top: 1em; } } diff --git a/test_template/main.typ b/test_template/main.typ index 51de1f8..37dbfec 100644 --- a/test_template/main.typ +++ b/test_template/main.typ @@ -163,6 +163,7 @@ thead { ) #card-list( + min-width: 200, range(1, 21).map(i => summary( url: "http://test.example.com",