Skip to content

Commit 3b80139

Browse files
committed
refactor: 更新 Pre 样式
1 parent 98384ca commit 3b80139

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/BootstrapBlazor.Server/Components/Components/Pre.razor.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
display: none;
2020
}
2121

22+
.pre-code > pre {
23+
color: #e83e8c;
24+
margin-bottom: 0;
25+
max-height: 260px;
26+
}
27+
2228
::deep .btn-group {
2329
position: absolute;
2430
top: 0;

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
::deep pre {
2-
color: #e83e8c;
3-
margin-bottom: 0;
4-
max-height: 260px;
5-
}
6-
7-
main {
1+
main {
82
min-height: calc(100vh - var(--bs-header-height));
93
position: relative;
104
z-index: 10;

0 commit comments

Comments
 (0)