Skip to content

Commit c43f2b8

Browse files
committed
refactor: 更新滚动条样式
1 parent 437cb44 commit c43f2b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BootstrapBlazor/Components/ListView/ListView.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{
3636
<div @key="@key.GroupName" class="accordion-item">
3737
<div class="accordion-header">@key.GroupName</div>
38-
<div class="accordion-body">
38+
<div class="accordion-body scroll">
3939
@foreach (var item in key.Items)
4040
{
4141
@RenderItem(item)

src/BootstrapBlazor/Components/ListView/ListView.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public partial class ListView<TItem> : BootstrapComponentBase
1515
.AddClassFromAttributes(AdditionalAttributes)
1616
.Build();
1717

18-
private string? BodyClassString => CssBuilder.Default("listview-body")
18+
private string? BodyClassString => CssBuilder.Default("listview-body scroll")
1919
.AddClass("is-group", GroupName != null)
2020
.Build();
2121

0 commit comments

Comments
 (0)