From c59d8cbe13ca9d66750a9d79706449e2840ed218 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 14 Apr 2021 10:57:36 +0200 Subject: [PATCH] Improved visuals for code boxes on small screens --- wcfsetup/install/files/style/bbcode/code.scss | 9 +++++++++ 1 file changed, 9 insertions(+) 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; } } -- 2.20.1