File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ export default {
43
43
<style lang="scss" scoped>
44
44
@import ' docc-render/styles/_core.scss' ;
45
45
46
- $badge-border-radius : $border-radius - 1px !default ;
47
-
48
46
@mixin badge-variation ($color ) {
49
47
--badge-color : var (--color-badge - #{$color } );
50
48
--badge-dark-color : var (--color-badge-dark - #{$color } );
@@ -58,7 +56,7 @@ $badge-border-radius: $border-radius - 1px !default;
58
56
padding : 2px 10px ;
59
57
white-space : nowrap ;
60
58
background : none ;
61
- border-radius : var (--badge-border-radius , $badge- border-radius );
59
+ border-radius : var (--badge-border-radius , calc ( #{ $ border-radius} - 1 px ) );
62
60
border-style : var (--badge-border-style , solid );
63
61
border-width : var (--badge-border-width , 1px );
64
62
margin-left : 10px ;
Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ $input-height: rem(28px);
426
426
// Remove Gray Highlight When Tapping Links in Mobile Safari =>
427
427
// https://css-tricks.com/snippets/css/remove-gray-highlight-when-tapping-links-in-mobile-safari/
428
428
-webkit-tap-highlight-color : rgba (0 , 0 , 0 , 0 );
429
- border-radius : $small-border-radius + 1 ;
429
+ border-radius : calc ( #{ $small-border-radius } + 1 px ) ;
430
430
@include on-keyboard-focus () {
431
431
outline : none ;
432
432
}
@@ -484,8 +484,8 @@ $input-height: rem(28px);
484
484
/deep / ul {
485
485
padding : var (--input-vertical-padding ) rem (9px );
486
486
border : 1px solid transparent ;
487
- border-bottom-left-radius : $small-border-radius - 1 ;
488
- border-bottom-right-radius : $small-border-radius - 1 ;
487
+ border-bottom-left-radius : calc ( #{ $small-border-radius } - 1 px ) ;
488
+ border-bottom-right-radius : calc ( #{ $small-border-radius } - 1 px ) ;
489
489
490
490
@include on-keyboard-focus () {
491
491
outline : none ;
You can’t perform that action at this time.
0 commit comments