From: Alexander Ebert Date: Wed, 14 Apr 2021 08:57:36 +0000 (+0200) Subject: Improved visuals for code boxes on small screens X-Git-Tag: 5.3.6~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c59d8cbe13ca9d66750a9d79706449e2840ed218;p=GitHub%2FWoltLab%2FWCF.git Improved visuals for code boxes on small screens --- diff --git a/wcfsetup/install/files/style/bbcode/code.scss b/wcfsetup/install/files/style/bbcode/code.scss index 008a893917..f2bd7fbf8f 100644 --- a/wcfsetup/install/files/style/bbcode/code.scss +++ b/wcfsetup/install/files/style/bbcode/code.scss @@ -97,6 +97,15 @@ padding: 0 10px; @include wcfFontHeadline; + + @include screen-sm-down { + overflow: auto; + white-space: nowrap; + } + } + + .icon { + flex: 0 0 auto; } }