Skip to content

Commit

Permalink
Fix issue when there's only one is-toggle tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo-Zhixing authored and jgthms committed May 16, 2020
1 parent 909e066 commit 086bd1c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sass/components/tabs.sass
Expand Up @@ -121,9 +121,11 @@ $tabs-toggle-link-active-color: $link-invert !default
& + li
margin-left: -#{$tabs-toggle-link-border-width}
&:first-child a
border-radius: $tabs-toggle-link-radius 0 0 $tabs-toggle-link-radius
border-top-left-radius: $tabs-toggle-link-radius
border-bottom-left-radius: $tabs-toggle-link-radius
&:last-child a
border-radius: 0 $tabs-toggle-link-radius $tabs-toggle-link-radius 0
border-bottom-right-radius: $tabs-toggle-link-radius
border-top-right-radius: $tabs-toggle-link-radius
&.is-active
a
background-color: $tabs-toggle-link-active-background-color
Expand Down

0 comments on commit 086bd1c

Please sign in to comment.