From 6b9fe9c2faa9cf4ae2a3c76051d8bd0dfed9ad80 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Tue, 25 Oct 2022 15:03:16 -0400 Subject: [PATCH] =?UTF-8?q?fix(core):=20=F0=9F=90=9B=20hide=20sticky=20hea?= =?UTF-8?q?der=20overflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/skins.citizen.styles/Stickyheader.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/skins.citizen.styles/Stickyheader.less b/resources/skins.citizen.styles/Stickyheader.less index 594c23af..9b37a3e2 100644 --- a/resources/skins.citizen.styles/Stickyheader.less +++ b/resources/skins.citizen.styles/Stickyheader.less @@ -26,6 +26,16 @@ .mw-indicators { display: none; } + + // HACK: Hide overflow + &:before { + position: absolute; + right: ~'calc( var(--padding-page ) * -1 )'; + left: ~'calc( var(--padding-page ) * -1 )'; + height: 100%; + background-color: var( --color-surface-0 ); + content: ''; + } } .page-heading {