aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Utility
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-04 09:43:55 -0800
committerFuwn <[email protected]>2024-01-04 09:43:55 -0800
commitaba28e3fed0f82775e7cec1434d77c70bb86977a (patch)
tree5e83205544d731c6dfb2824fa2608bc542943053 /src/lib/Utility
parentfeat(list): action buttons (diff)
downloaddue.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.ts2
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);