From aba28e3fed0f82775e7cec1434d77c70bb86977a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 4 Jan 2024 09:43:55 -0800 Subject: fix(html): offset for badges --- src/lib/Utility/html.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3