Skip to content

Commit

Permalink
fix(tabstrip): tab alignment not working
Browse files Browse the repository at this point in the history
  • Loading branch information
JoomFX authored and joneff committed Nov 23, 2021
1 parent f14d867 commit d60b4f6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/default/scss/tabstrip/_layout.scss
Expand Up @@ -155,6 +155,10 @@
border-bottom-width: $tabstrip-border-width;
margin-bottom: -$tabstrip-content-border-width;

> .k-tabstrip-items {
width: 100%;
}

.k-item {
@include border-top-radius( $tabstrip-item-border-radius );
margin-bottom: -$tabstrip-border-width;
Expand All @@ -180,6 +184,10 @@
border-top-width: $tabstrip-border-width;
margin-top: -$tabstrip-content-border-width;

> .k-tabstrip-items {
width: 100%;
}

.k-item {
@include border-bottom-radius( $tabstrip-item-border-radius );
margin-top: -$tabstrip-border-width;
Expand Down Expand Up @@ -208,6 +216,7 @@
margin-right: -$tabstrip-content-border-width;

> .k-tabstrip-items {
height: 100%;
display: inline-flex;
flex-direction: column;
}
Expand Down Expand Up @@ -242,6 +251,7 @@
margin-left: -$tabstrip-content-border-width;

> .k-tabstrip-items {
height: 100%;
display: inline-flex;
flex-direction: column;
}
Expand Down

0 comments on commit d60b4f6

Please sign in to comment.