From 20ffa7d26815f65e5c7d9b71e380688c1c52a2d0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 26 Aug 2021 14:45:28 +0200 Subject: [PATCH] Reset the floating code box header when the sticky page header is hidden See https://community.woltlab.com/thread/291977-sticky-code-header-w%C3%A4hrend-antwort-unsch%C3%B6n/ --- wcfsetup/install/files/style/bbcode/code.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcfsetup/install/files/style/bbcode/code.scss b/wcfsetup/install/files/style/bbcode/code.scss index 9a023c54aa..8928cbd27b 100644 --- a/wcfsetup/install/files/style/bbcode/code.scss +++ b/wcfsetup/install/files/style/bbcode/code.scss @@ -174,6 +174,10 @@ position: static; } +.redactorActive .codeBoxHeader { + top: 0; +} + /* PrismJS 1.15.0 https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript&plugins=autoloader */ /** -- 2.20.1