From 91173750ad0f0694094ffd0d51094b28efd88c6a Mon Sep 17 00:00:00 2001 From: Arne <1169654+arnef@users.noreply.github.com> Date: Thu, 6 Aug 2026 22:02:44 +0200 Subject: [PATCH] Use Tolino-compatible three-column overview layout --- static/styles.css | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/static/styles.css b/static/styles.css index 26fe15c..de99fb2 100644 --- a/static/styles.css +++ b/static/styles.css @@ -73,20 +73,24 @@ h2 { .book-list { list-style: none; - margin: 0; + margin: 0 -0.25rem; padding: 0; - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 0.75rem; } .book-item { - border: 1px solid #000; - padding: 0.5rem; + display: inline-block; + width: 33.3333%; + vertical-align: top; + box-sizing: border-box; + padding: 0.25rem; + margin: 0; + border: none; } .book-card { display: block; + border: 1px solid #000; + padding: 0.5rem; color: inherit; text-decoration: none; }