From 78483c212bd576d47ab42dfec3153923ce2c7500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Pit-Claudel?= <clement.pit-claudel@epfl.ch> Date: Tue, 24 Dec 2024 12:17:48 +0100 Subject: [PATCH] css: Truncate whole app card, not just description This ensures that the description occupies the whole card. --- jvm/src/main/resources/www/static/main.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jvm/src/main/resources/www/static/main.css b/jvm/src/main/resources/www/static/main.css index 7af9cbc..0f301ef 100644 --- a/jvm/src/main/resources/www/static/main.css +++ b/jvm/src/main/resources/www/static/main.css @@ -182,6 +182,9 @@ form > *:last-child { .app-grid figure figcaption { margin: 0.5rem; + max-height: 6.35lh; + overflow-y: auto; + scrollbar-width: thin; } .app-grid figure :is(h4, p) { @@ -193,11 +196,9 @@ form > *:last-child { } .app-grid figure p { + margin-bottom: 0; font-size: 0.7em; opacity: 0.7; - max-height: 4.5lh; - overflow-y: auto; - scrollbar-width: thin; } .app-grid figure img { -- GitLab