Skip to content

Commit b77e14d

Browse files
committed
style: 调整样式
1 parent 5ac38d9 commit b77e14d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/BootstrapBlazor/Components/Select/MultiSelect.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public partial class MultiSelect<TValue>
1717
private List<SelectedItem> SelectedItems { get; } = [];
1818

1919
private string? ClassString => CssBuilder.Default("select dropdown multi-select")
20-
.AddClass("cls", IsClearable)
20+
.AddClass("is-clearable", IsClearable)
2121
.Build();
2222

2323
private string? EditSubmitKeyString => EditSubmitKey == EditSubmitKey.Space ? EditSubmitKey.ToDescriptionString() : null;

src/BootstrapBlazor/Components/Select/Select.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public partial class Select<TValue> : ISelect, ILookup
1919
private SwalService? SwalService { get; set; }
2020

2121
private string? ClassString => CssBuilder.Default("select dropdown")
22-
.AddClass("cls", IsClearable)
22+
.AddClass("is-clearable", IsClearable)
2323
.AddClassFromAttributes(AdditionalAttributes)
2424
.Build();
2525

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
display: flex;
165165
}
166166

167-
&.cls:not(.disabled):hover .form-select-append {
167+
&.is-clearable:not(.disabled):hover .form-select-append {
168168
display: none;
169169
}
170170
}

0 commit comments

Comments
 (0)