Skip to content

Commit 486c0e5

Browse files
authored
doc(Layout): relayout z-index value (#5525)
1 parent 858755a commit 486c0e5

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,10 @@
7272
.navbar-header {
7373
position: sticky;
7474
top: 0;
75-
z-index: 1050;
75+
z-index: 15;
7676
height: var(--bs-header-height);
7777
}
7878

79-
.modal-open .navbar-header {
80-
z-index: 1040;
81-
}
82-
8379
::deep .bb-g-search {
8480
margin-bottom: 0;
8581
margin-inline-end: .5rem;

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66

77
main {
88
min-height: calc(100vh - var(--bs-header-height));
9+
position: relative;
10+
z-index: 10;
911
}

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
.main {
1+
.section {
2+
position: relative;
3+
}
4+
5+
.main {
26
padding: var(--bb-main-pading);
7+
position: relative;
8+
z-index: 5;
39
}
410

511
.sidebar-title {
@@ -75,6 +81,7 @@
7581
::deep .dial-button {
7682
display: none;
7783
position: fixed;
84+
z-index: 10;
7885
right: 1rem;
7986
bottom: 1rem;
8087
}

0 commit comments

Comments
 (0)