Skip to content

Commit 6e00c3d

Browse files
committed
refactor: 增加阴影效果
1 parent f22fa7d commit 6e00c3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BootstrapBlazor/Components/AutoComplete/AutoComplete.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
@code {
2525
RenderFragment RenderDropdown =>
26-
@<ul class="dropdown-menu">
26+
@<ul class="dropdown-menu shadow">
2727
@foreach (var item in Rows)
2828
{
2929
<li @key="item" class="dropdown-item" @onclick="() => OnClickItem(item)">

src/BootstrapBlazor/Components/Select/SelectBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public abstract class SelectBase<TValue> : PopoverSelectBase<TValue>
171171
/// <summary>
172172
/// Gets the dropdown menu class string.
173173
/// </summary>
174-
protected string? DropdownMenuClassString => CssBuilder.Default("dropdown-menu")
174+
protected string? DropdownMenuClassString => CssBuilder.Default("dropdown-menu shadow")
175175
.AddClass("is-fixed-search", CheckFixedSearch())
176176
.Build();
177177

0 commit comments

Comments
 (0)