mirror of
https://github.com/yuzu-emu/yuzu-emu.github.io.git
synced 2025-07-27 12:11:56 +00:00
fix anchor jump issue
This commit is contained in:
parent
375205d6c9
commit
427b1b9300
|
@ -147,3 +147,11 @@ pre > code {
|
|||
#view-package-listing-button {
|
||||
color: #363636;
|
||||
}
|
||||
|
||||
// Fix anchor jumps (https://stackoverflow.com/a/28824157)
|
||||
:target::before {
|
||||
content: "";
|
||||
display: block;
|
||||
height: 64px; /* fixed header height*/
|
||||
margin: -64px 0 0; /* negative fixed header height */
|
||||
}
|
Loading…
Reference in a new issue