From 2d595f8c15a1fd1d3c8a63e615309c3db189ba8f Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Mon, 24 Aug 2026 20:58:50 +0000 Subject: [PATCH] Reduce #brand to actual size, avoid clicks on empty banner space touching it. --- frontend/src/assets/pagerite.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/assets/pagerite.css b/frontend/src/assets/pagerite.css index f4ea91f..1f48e86 100644 --- a/frontend/src/assets/pagerite.css +++ b/frontend/src/assets/pagerite.css @@ -192,6 +192,10 @@ body { /* One line always: pagerite.js shrinks the font size to fit instead of wrapping (the themed size is the maximum). */ white-space: nowrap; + /* Shrink-wrap to the text: as a flex child of the column-direction + #banner it would otherwise stretch full-width, making the empty banner + area beside the text a link to the front page. */ + align-self: flex-start; margin: auto 1.25rem 0; padding-top: 1.5rem; color: var(--text);