mirror of
https://github.com/yuzu-emu/yuzu-emu.github.io.git
synced 2025-06-29 14:30:31 +00:00
fix anchor jump issue (#247)
This commit is contained in:
parent
c9a5a7def5
commit
60d8365778
|
@ -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