Skip to content

Commit d54d0b4

Browse files
committed
style: 更新样式
1 parent 74f701a commit d54d0b4

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/BootstrapBlazor.Server/Components/Layout/MainLayout.razor.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
padding: var(--bb-main-pading);
33
}
44

5-
.section {
6-
--bb-sidebar-width: 0;
7-
}
8-
95
.sidebar-title {
106
height: 50px;
117
align-items: center;
@@ -84,6 +80,12 @@
8480
-webkit-font-smoothing: antialiased;
8581
}
8682

83+
.main {
84+
flex: 1;
85+
width: 1%;
86+
min-width: 0;
87+
}
88+
8789
.sidebar-title {
8890
display: flex;
8991
}
@@ -97,10 +99,6 @@
9799
margin-top: calc(var(--bs-header-height) * -1);
98100
}
99101

100-
.main {
101-
width: calc(100% - var(--bb-layout-sidebar-width));
102-
}
103-
104102
.sidebar-bar {
105103
display: block;
106104
}

0 commit comments

Comments
 (0)