Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-21 17:21:22 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-21 17:21:22 +0300
commit7a57409f7d913a8a9c7d3e31779e4b6266777503 (patch)
tree915c2e2d24ab50dc24d566dc625b839909db9b3a /core/css/apps.scss
parentb7767a51f140d3f588278f053f3a9e1eb84e4346 (diff)
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/css/apps.scss')
-rw-r--r--core/css/apps.scss4
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;