Skip to content

Commit

Permalink
chore: fix outline around fake block for anchor (#83)
Browse files Browse the repository at this point in the history
Fixes a weird css bug where this is an outline around the named anchor
when clicking in the "fake block" created to fill space at the top of
the page.
  • Loading branch information
shwoodard committed May 17, 2023
1 parent 7e3739a commit 74342ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aip_site/support/scss/imports/headings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
// This creates a "fake block" above the header that does not show up
// anywhere but tricks the browser into thinking that the anchor is 80px
// higher than it actually is.
cursor: default;
outline: none;

&::before {
display: block;
content: ' ';
Expand Down

0 comments on commit 74342ff

Please sign in to comment.