diff options
| author | Fuwn <[email protected]> | 2024-01-04 09:43:55 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-04 09:43:55 -0800 |
| commit | aba28e3fed0f82775e7cec1434d77c70bb86977a (patch) | |
| tree | 5e83205544d731c6dfb2824fa2608bc542943053 /src/lib/Utility | |
| parent | feat(list): action buttons (diff) | |
| download | due.moe-aba28e3fed0f82775e7cec1434d77c70bb86977a.tar.xz due.moe-aba28e3fed0f82775e7cec1434d77c70bb86977a.zip | |
fix(html): offset for badges
Diffstat (limited to 'src/lib/Utility')
| -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 3371a7d3..46c7101e 100644 --- a/src/lib/Utility/html.ts +++ b/src/lib/Utility/html.ts @@ -10,7 +10,7 @@ export const limitListHeight = () => { document.querySelector('#list-container')?.getBoundingClientRect().bottom || 0; const headerBottom = (document.querySelector('#header')?.getBoundingClientRect().bottom || 0) * 1.5; - const offset = 1.25; + const offset = 1.25 + 0.275; const offsetInPixels = offset * parseFloat(getComputedStyle(document.documentElement).fontSize); |