Skip to content

Commit

Permalink
Only offset headings directly descending .doc-content
Browse files Browse the repository at this point in the history
  • Loading branch information
crdo committed Nov 26, 2024
1 parent 1b21936 commit 854032f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Havit.Blazor.Documentation/Shared/MainLayout.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

/* Offset headings by Navbar height on desktop */
@media screen and (min-width: 992px) {
.doc-content ::deep h1,
.doc-content ::deep h2,
.doc-content ::deep h3,
.doc-content ::deep h4,
.doc-content ::deep h5 {
.doc-content > ::deep h1,
.doc-content > ::deep h2,
.doc-content > ::deep h3,
.doc-content > ::deep h4,
.doc-content > ::deep h5 {
padding-top: 56px; margin-top: -56px;
}
}

0 comments on commit 854032f

Please sign in to comment.