Skip to content

Commit 5dc319d

Browse files
authored
Merge pull request #1822 from Shrutiii01/fix-docs-text-bleed
Fix: Mobile navigation drawer overlay is pierced by page headings
2 parents ee69e97 + b4fb9de commit 5dc319d

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

src/css/custom.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,4 +2881,27 @@ html[data-theme="dark"] .blog-post-page article header h2[itemprop="headline"] {
28812881
padding-left: 16px !important;
28822882
padding-right: 16px !important;
28832883
}
2884+
}
2885+
2886+
2887+
.theme-doc-main-container,
2888+
.theme-doc-markdown,
2889+
main[class*='docMainContainer_'] {
2890+
position: relative;
2891+
z-index: 1 !important;
2892+
}
2893+
2894+
.theme-doc-markdown h1,
2895+
.theme-doc-markdown h2,
2896+
.theme-doc-markdown h3,
2897+
.theme-doc-markdown span,
2898+
.theme-doc-markdown div,
2899+
.theme-doc-markdown label {
2900+
z-index: 1 !important;
2901+
}
2902+
2903+
.theme-doc-sidebar-container,
2904+
.menu--responsive,
2905+
div[class*='sidebarViewport_'] {
2906+
z-index: 9999 !important;
28842907
}

0 commit comments

Comments
 (0)