Skip to content

Commit

Permalink
Tweak CSS for :target:before
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 9, 2021
1 parent 23646e1 commit 83b8297
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/MLS-navbar-left.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ nav > div.ltx_TOC {
top: calc(-(2.5rem + 2px)); /* Offset by total height of .ltx_page_header. */
}

.ltx_item :target:before {
display: inline-block;
top: 0; /* Remove offset from general :target:before. */
}

.ltx_page_content {
padding-top: 2rem;
padding-bottom: 1rem;
Expand Down

0 comments on commit 83b8297

Please sign in to comment.