Skip to content

Commit

Permalink
Heading frag id button Chromium fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chocmake authored Jan 2, 2024
1 parent 9585870 commit 55765ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/css/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,8 @@ blockquote.important {

.index .heading-frag-id-link {
background: var(--color-buttons-hover);
top: -5px;
margin-top: 0;
transform: translateY(-5px); /* alternative to `top` since Chromium ignores `break-inside: avoid` on absolutely positioned elements */
}

h2.heading-with-frag-id .heading-frag-id-link {
Expand Down

0 comments on commit 55765ce

Please sign in to comment.