Parcourir la source

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>
tags/v15.0.0RC1
Daniel Calviño Sánchez il y a 5 ans
Parent
révision
7a57409f7d
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4
    0
      core/css/apps.scss

+ 4
- 0
core/css/apps.scss Voir le fichier

@@ -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;

Chargement…
Annuler
Enregistrer