diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-11-21 15:21:22 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-11-21 15:21:22 +0100 |
commit | 7a57409f7d913a8a9c7d3e31779e4b6266777503 (patch) | |
tree | 915c2e2d24ab50dc24d566dc625b839909db9b3a /core | |
parent | b7767a51f140d3f588278f053f3a9e1eb84e4346 (diff) | |
download | nextcloud-server-7a57409f7d913a8a9c7d3e31779e4b6266777503.tar.gz nextcloud-server-7a57409f7d913a8a9c7d3e31779e4b6266777503.zip |
Do not show tab headers marked as hidden
Tab headers that should not be shown are marked with the "hidden" CSS
class. The CSS rules set "display: none" for ".hidden" elements, but as
the rules for ".tabHeaders .tabHeader" are more specific than rules for
".hidden" the "display" property is overriden and ends being "flex".
Therefore, it is necessary to explicitly set a rule for ".tabHeaders
.tabHeader.hidden" elements.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/apps.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index b9c2b50c6f2..07ff0d9ea54 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -805,6 +805,10 @@ $min-content-width: $breakpoint-mobile - $navigation-width - $list-min-width; margin-bottom: 1px; padding: 5px; + &.hidden { + display: none; + } + /* Use same amount as sidebar padding */ &:first-child { padding-left: 15px; |