Exclude script and style tags from page banner styling to avoid them becoming visible on page.

This commit is contained in:
2026-08-18 02:59:49 +00:00
parent f11b772493
commit 87deaa380b
+3 -1
View File
@@ -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%;