diff --git a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj index 596d9b950a1..845bcace668 100644 --- a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj +++ b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj @@ -65,7 +65,7 @@ - + diff --git a/src/BootstrapBlazor.Server/Components/Samples/WinBoxes.razor b/src/BootstrapBlazor.Server/Components/Samples/WinBoxes.razor index e74e6aefbb5..1a6e739f30d 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/WinBoxes.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/WinBoxes.razor @@ -43,8 +43,8 @@ private WinBoxService? WinBoxService { get; set; } background: #000; } -

通过样式变量实现

-
.winbox {
+    

通过内置样式变量实现

+
.bb-win-box {
     --bb-winbox-bg: var(--bb-primary-color);
 }