Skip to content

Commit

Permalink
fix: tabs classes (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrisitchy authored Apr 13, 2020
1 parent c9b660a commit 3fd5cd5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scss/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
border-top: $nav-tabs-border-color solid $nav-tabs-border-width;
}

label.tab-label {
.tab-label {
align-items: center;
border-bottom: $gray-300 solid 1px;
border-top: $gray-300 solid 1px;
Expand Down Expand Up @@ -38,7 +38,7 @@ label.tab-label {
padding-right: 0;
}

&.flex-tab{
&.flex-tab {
flex-grow: 1;
flex-basis: from-pixels(125);
padding-left: 0;
Expand Down Expand Up @@ -66,6 +66,11 @@ input.tab-input:checked + label.tab-label {
color: $primary;
}

.tab-active {
border-bottom: $tab-border-width solid $primary;
color: $primary;
}

input.tab-input:checked + label.tab-label + .tab-content {
display: block;
}
Expand Down

0 comments on commit 3fd5cd5

Please sign in to comment.