Skip to content

Commit 0d36b22

Browse files
committed
fix(Picker): fix border-radius when element is set small or large
1 parent af201ee commit 0d36b22

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

scss/_picker.scss

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
background-color: var(--#{$prefix}input-focus-bg, $input-focus-bg);
1515
border-color: var(--#{$prefix}input-focus-border-color, $input-focus-border-color);
1616
outline: 0;
17-
@include border-radius($input-border-radius, 0);
1817
@if $enable-shadows {
1918
@include box-shadow($input-box-shadow, $input-focus-box-shadow);
2019
} @else {
@@ -65,15 +64,23 @@
6564
}
6665
}
6766

68-
.input-group-lg {
67+
&.input-group {
68+
@include border-radius($input-border-radius, 0);
69+
}
70+
71+
&.input-group-lg {
72+
@include border-radius($input-border-radius-lg, 0);
73+
6974
.picker-input-group-icon {
7075
width: 1.25rem;
7176
height: 1.25rem;
7277
font-size: 1.25rem;
7378
}
7479
}
7580

76-
.input-group-sm {
81+
&.input-group-sm {
82+
@include border-radius($input-border-radius-sm, 0);
83+
7784
.picker-input-group-icon {
7885
width: .875rem;
7986
height: .875rem;

0 commit comments

Comments
 (0)