We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3f5938 commit 8033e4aCopy full SHA for 8033e4a
src/tab/scss/mixin.scss
@@ -66,8 +66,13 @@
66
&.active {
67
&:before {
68
@if $position == 'top' or $position == 'bottom' {
69
- width: calc(100% - 2 * #{$border-radius} - 2 * #{$line-padding-l});
70
- left: calc(0px + #{$border-radius} + #{$line-padding-l});
+ @if get-compiling-value($border-radius) == 0 {
+ width: calc(100% - 2 * #{$line-padding-l});
71
+ left: calc(0px + #{$line-padding-l});
72
+ } @else {
73
+ width: calc(100% - 2 * #{$border-radius} - 2 * #{$line-padding-l});
74
+ left: calc(0px + #{$border-radius} + #{$line-padding-l});
75
+ }
76
} @else {
77
@if get-compiling-value($border-radius) == 0 {
78
height: 100%;
0 commit comments