Fix issue when there's only one is-toggle tag

This commit is contained in:
Zhixing Zhang 2020-05-16 15:09:03 -04:00 committed by Jeremy Thomas
parent 909e0669e5
commit 086bd1c66d

View File

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