Skip to content

Commit da1ebaf

Browse files
authored
fix(AutoComplete): append icon wrong place (#7717)
* style: 修复 AutoComplete 样式问题 * style: 使用样式变量代替常数
1 parent b58d252 commit da1ebaf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/BootstrapBlazor/Components/Select/Select.razor.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
--bb-select-padding: #{$bb-select-padding};
1212
--bb-select-append-width: #{$bb-select-append-width};
1313
--bb-select-append-color: #{$bb-select-append-color};
14-
--bb-select-append-right: 0;
1514
}
1615

1716
.select:not(.cascade) .dropdown-menu {
@@ -126,6 +125,8 @@
126125

127126
.select,
128127
.auto-complete {
128+
--bb-select-append-right: #{$bb-select-append-right};
129+
129130
.clear-icon {
130131
position: absolute;
131132
height: 100%;

src/BootstrapBlazor/wwwroot/scss/variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ $bb-select-search-icon-top: 18px;
534534
$bb-select-search-height: 52px;
535535
$bb-select-append-width: 30px;
536536
$bb-select-append-color: #c0c4cc;
537+
$bb-select-append-right: 0;
537538

538539
// Multiple-Select
539540
$bb-multi-select-min-height: 35px;

0 commit comments

Comments
 (0)