From: Zhixing Zhang Date: Sat, 16 May 2020 19:09:03 +0000 (-0400) Subject: Fix issue when there's only one is-toggle tag X-Git-Tag: 0.9.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=086bd1c66d198533edc9a62563e4fe0a0e8ebcf8;p=thirdparty%2Fbulma.git Fix issue when there's only one is-toggle tag --- diff --git a/sass/components/tabs.sass b/sass/components/tabs.sass index 8c28c257a..53acabe4d 100644 --- a/sass/components/tabs.sass +++ b/sass/components/tabs.sass @@ -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