diff options
Diffstat (limited to 'src/lib/Utility')
| -rw-r--r-- | src/lib/Utility/html.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Utility/html.ts b/src/lib/Utility/html.ts index 01041b0e..3371a7d3 100644 --- a/src/lib/Utility/html.ts +++ b/src/lib/Utility/html.ts @@ -8,7 +8,8 @@ export const limitListHeight = () => { document.querySelectorAll('.list').forEach((list) => { const listContainerBottom = document.querySelector('#list-container')?.getBoundingClientRect().bottom || 0; - const headerBottom = document.querySelector('#header')?.getBoundingClientRect().bottom || 0; + const headerBottom = + (document.querySelector('#header')?.getBoundingClientRect().bottom || 0) * 1.5; const offset = 1.25; const offsetInPixels = offset * parseFloat(getComputedStyle(document.documentElement).fontSize); |