From 90febaaecde8157899b6f9fe5c4340e1156a5c76 Mon Sep 17 00:00:00 2001 From: HighImKevin Date: Sat, 26 Sep 2026 08:14:15 -0400 Subject: [PATCH] Improve accuracy of skeleton card footers --- scripts/cardBuilder.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/scripts/cardBuilder.css b/scripts/cardBuilder.css index 155476d..8488108 100644 --- a/scripts/cardBuilder.css +++ b/scripts/cardBuilder.css @@ -967,14 +967,24 @@ } } +/* Match .cardText line boxes so skeleton→real swap does not shift section height */ .skeleton-text-line { display: inline-block; - height: 1em; - max-width: 100%; border-radius: 4px; background: rgba(255, 255, 255, 0.12); animation: skeleton-pulse 1.5s ease-in-out infinite; - vertical-align: middle; +} +.cardText-first .skeleton-text-line { + padding: 0 22.5% !important; +} +.cardText-secondary .skeleton-text-line { + padding: 0 15% !important; +} +.cardText-secondary:nth-child(3) .skeleton-text-line { + padding: 0 10% !important; +} +.skeleton-card .cardText-secondary { + opacity: 0.8; } .skeleton-section-title {