From 6c8f3ff9586016866b62afaf0f5b64a3fb29842f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 26 Nov 2016 14:45:28 +0100 Subject: [PATCH] Work-around for low resolutions or double sidebars --- .../install/files/style/layout/content.scss | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/wcfsetup/install/files/style/layout/content.scss b/wcfsetup/install/files/style/layout/content.scss index 64a92dbf56..ce36a89d25 100644 --- a/wcfsetup/install/files/style/layout/content.scss +++ b/wcfsetup/install/files/style/layout/content.scss @@ -94,6 +94,16 @@ @include inlineList; flex-wrap: nowrap; + + > li{ + &:not(:last-child) { + margin-right: 0; + } + + &:not(:first-child) { + margin-left: 5px; + } + } } } } @@ -443,3 +453,29 @@ fieldset { } } } + +/* workaround for ancient screen resolutions */ +@media (max-width: 1280px) { + .contentHeaderNavigation { + flex: 1 1 0%; + + > ul { + flex-wrap: wrap !important; + justify-content: flex-end; + } + } +} + +/* sidebar galore */ +@include screen-lg { + .sidebar + .content:not(:last-child) { + .contentHeaderNavigation { + flex: 1 1 0%; + + > ul { + flex-wrap: wrap !important; + justify-content: flex-end; + } + } + } +} -- 2.20.1