diff options
| author | Fuwn <[email protected]> | 2024-01-04 20:36:49 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-04 20:36:49 -0800 |
| commit | c7a68ea4b977ef3352243f052d28cce729935fed (patch) | |
| tree | be92aee1b066e7fd7b2f903bc9fe1b920c347659 | |
| parent | fix(layout): fallback font (diff) | |
| download | due.moe-c7a68ea4b977ef3352243f052d28cce729935fed.tar.xz due.moe-c7a68ea4b977ef3352243f052d28cce729935fed.zip | |
fix(html): adjust offset to navigation
| -rw-r--r-- | src/lib/Utility/html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Utility/html.ts b/src/lib/Utility/html.ts index 3be8e1f5..d1e506f6 100644 --- a/src/lib/Utility/html.ts +++ b/src/lib/Utility/html.ts @@ -19,7 +19,7 @@ export const limitListHeight = () => { if (tallestList) tallestList.style.maxHeight = `calc(${window.innerHeight}px - ${ document.querySelector('#header')?.getBoundingClientRect().bottom || 0 - }px - 2rem)`; + }px - 4rem)`; } }; |