Skip to content

Commit 6690482

Browse files
committed
refactor: 更改样式
1 parent d808607 commit 6690482

File tree

1 file changed

+2
-2
lines changed
  • src/BootstrapBlazor.Server/Components/Components

1 file changed

+2
-2
lines changed

src/BootstrapBlazor.Server/Components/Components/Video.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
<p><b>@Localizer["H1"]</b></p>
55

6-
@if (VideoUrl.Any())
6+
@if (VideoUrl.Count > 0)
77
{
88
foreach (var url in VideoUrl)
99
{
1010
<div class="mb-3">
11-
<a class="fa-solid fa-video" href="@url" target="_blank"><span class="ms-2">@Localizer["L1"]</span></a>
11+
<a href="@url" target="_blank"><i class="fa-solid fa-video"></i><span class="ms-2">@Localizer["L1"]</span></a>
1212
</div>
1313
}
1414
}

0 commit comments

Comments
 (0)