Skip to content

Commit 0e1dca7

Browse files
authored
fix(Layout): update width style for layout (#4759)
* style: 更新样式 * doc: 更新样式 * chore: bump version 9.0.2-beta06
1 parent 40a1418 commit 0e1dca7

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/BootstrapBlazor.Server/Components/Samples/Layouts.razor.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424

2525
.layout-demo ::deep .layout-footer div {
2626
text-align: center;
27-
flex: 1;
27+
flex: 1 1 auto;
28+
width: 1%;
29+
min-width: 0;
2830
}
2931

3032
.layout-demo ::deep .layout-side {

src/BootstrapBlazor/BootstrapBlazor.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>9.0.2-beta05</Version>
4+
<Version>9.0.2-beta06</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BootstrapBlazor/Components/Layout/Layout.razor.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@
263263
.layout-right {
264264
display: flex;
265265
flex-flow: column;
266-
flex: 1;
266+
flex: 1 1 auto;
267+
width: 1%;
268+
min-width: 0;
267269
}
268270

269271
&.has-sidebar {

0 commit comments

Comments
 (0)