From 2136c6d68661fd7ecf4fa4933d1a53c690d59c56 Mon Sep 17 00:00:00 2001 From: Nick Beckley Date: Sun, 14 Jun 2026 14:55:53 +0100 Subject: [PATCH] Bug fix: Word Companion vertical stretching / excessive empty spacing --- PlotLine/wwwroot/css/word-companion.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PlotLine/wwwroot/css/word-companion.css b/PlotLine/wwwroot/css/word-companion.css index d1a2b28..f2a9422 100644 --- a/PlotLine/wwwroot/css/word-companion.css +++ b/PlotLine/wwwroot/css/word-companion.css @@ -29,10 +29,10 @@ body { .word-companion-shell { display: grid; + align-content: start; gap: 9px; width: 100%; max-width: 420px; - min-height: 100vh; padding: 10px 11px; } @@ -160,6 +160,7 @@ body { .word-companion-tab-panel { display: grid; + align-content: start; gap: 8px; } @@ -748,7 +749,6 @@ body { .word-companion-footer { border-top: 1px solid var(--companion-line); - margin-top: auto; padding-top: 7px; font-size: 0.76rem; } @@ -760,8 +760,8 @@ body { } @media (max-width: 340px) { - .word-companion-tabs button { - flex-basis: calc(50% - 4px); + .word-companion-tabs { + grid-template-columns: repeat(2, minmax(0, 1fr)); } .word-companion-metrics,