From 87deaa380bbee30541052af7fa2862722ed1b857 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 18 Aug 2026 02:59:49 +0000 Subject: [PATCH] Exclude script and style tags from page banner styling to avoid them becoming visible on page. --- frontend/src/assets/pagerite.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/assets/pagerite.css b/frontend/src/assets/pagerite.css index 5c159cc..19a46f1 100644 --- a/frontend/src/assets/pagerite.css +++ b/frontend/src/assets/pagerite.css @@ -140,7 +140,9 @@ body { overflow: hidden; } -#page-banner>* { +/* :not(style, script): author-level display:block would override the UA's + display:none on those and render their source as banner text. */ +#page-banner>*:not(style, script) { display: block; width: 100%; height: 100%;