Skip to content

Commit cdd419b

Browse files
committed
refactor: 增加样式
1 parent 2cf3452 commit cdd419b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@
121121
transform: rotate(0);
122122
}
123123

124-
.select {
124+
.select,
125+
.auto-complete {
125126
.clear-icon {
126127
position: absolute;
127128
height: 100%;

src/BootstrapBlazor/Components/Select/SelectBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ protected override void OnParametersSet()
204204
private bool IsNullable() => !ValueType.IsValueType || NullableUnderlyingType != null;
205205

206206
/// <summary>
207-
///
207+
/// Gets whether show the clear button.
208208
/// </summary>
209209
/// <returns></returns>
210210
protected bool GetClearable() => IsClearable && !IsDisabled && IsNullable();

0 commit comments

Comments
 (0)