Skip to content

Commit

Permalink
Only remove caption margin from the first visible tab.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansku committed Aug 18, 2020
1 parent 0676373 commit b1fdcef
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ $v-tabsheet-content-animation-enabled: $v-animations-enabled !default;
margin-left: 0;
}

&:not([aria-hidden="true"]) ~ td .v-caption {
margin-left: round($v-unit-size/2);
}

&:focus {
outline: none;

Expand Down Expand Up @@ -443,6 +447,10 @@ $v-tabsheet-content-animation-enabled: $v-animations-enabled !default;
margin-left: 0;
}

:not([aria-hidden="true"]) ~ td .v-caption {
margin-left: round($v-unit-size/2);
}

@if $frame-inactive-tabs {
.#{$primary-stylename}-tabitem .v-caption {
border-color: first-color(valo-border($color: $v-app-background-color, $strength: 0.5));
Expand Down

0 comments on commit b1fdcef

Please sign in to comment.