Skip to content

Commit 5669be3

Browse files
authored
feat: 更新masa.blazor到最新 (#792)
1 parent 24e09c0 commit 5669be3

File tree

2 files changed

+31
-39
lines changed

2 files changed

+31
-39
lines changed
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

3-
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
5-
<Nullable>enable</Nullable>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<LangVersion>latest</LangVersion>
8-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<LangVersion>latest</LangVersion>
8+
</PropertyGroup>
99

10-
<ItemGroup>
11-
<SupportedPlatform Include="browser" />
12-
</ItemGroup>
10+
<ItemGroup>
11+
<SupportedPlatform Include="browser" />
12+
</ItemGroup>
1313

14-
<ItemGroup>
15-
<PackageReference Include="Masa.Blazor" Version="1.10.4" />
16-
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="$(MicrosoftPackageVersion)" />
17-
</ItemGroup>
14+
<ItemGroup>
15+
<PackageReference Include="Masa.Blazor" Version="1.12.0-alpha.1" />
16+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="$(MicrosoftPackageVersion)" />
17+
</ItemGroup>
1818

19-
<ItemGroup>
20-
<Folder Include="wwwroot\" />
21-
</ItemGroup>
19+
<ItemGroup>
20+
<Folder Include="wwwroot\" />
21+
</ItemGroup>
2222

2323
</Project>

src/Masa.Stack.Components/wwwroot/css/app.css

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -883,36 +883,28 @@ h1:focus {
883883
margin-bottom: auto !important;
884884
}
885885

886-
.ms-breadcrumbs {
886+
.ms-breadcrumbs.m-breadcrumbs {
887887
padding: 0 !important;
888888
margin-left: -4px;
889889
flex-wrap: nowrap;
890890
}
891891

892-
.ms-breadcrumbs li {
893-
background-color: white;
894-
padding: 8px 24px;
895-
}
896-
897-
.ms-breadcrumbs li:nth-child(even) {
898-
padding: 0;
899-
}
900-
901-
.ms-breadcrumbs li:nth-child(odd) {
902-
clip-path: polygon(0px 0px, calc(100% - 8px) 0px, 100% 50%, calc(100% - 8px) 100%, 0px 100%, 8px 50%);
903-
}
892+
.ms-breadcrumbs.m-breadcrumbs li {
893+
background-color: rgba(var(--m-theme-surface-container));
894+
padding: 8px 24px;
895+
}
904896

905-
.ms-breadcrumbs li:first-child {
906-
clip-path: polygon(0px 0px, calc(100% - 8px) 0px, 100% 50%, calc(100% - 8px) 100%, 0px 100%);
907-
}
897+
.ms-breadcrumbs.m-breadcrumbs li {
898+
clip-path: polygon(0px 0px, calc(100% - 8px) 0px, 100% 50%, calc(100% - 8px) 100%, 0px 100%, 8px 50%);
899+
}
908900

909-
.ms-breadcrumbs li:last-child {
910-
clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 100%, 8px 50%);
911-
border-top-right-radius: 8px;
912-
border-bottom-right-radius: 8px;
913-
color: grey;
914-
overflow-wrap: anywhere;
915-
}
901+
.ms-breadcrumbs.m-breadcrumbs li:last-child {
902+
clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 100%, 8px 50%);
903+
border-top-right-radius: 8px;
904+
border-bottom-right-radius: 8px;
905+
color: grey;
906+
overflow-wrap: anywhere;
907+
}
916908

917909
.m-sheet.m-card {
918910
border-radius: 20px;

0 commit comments

Comments
 (0)