fix: scroll to note

This commit is contained in:
Julien Calixte
2026-02-19 17:36:44 +01:00
parent efd2a2a99b
commit 5bad66884f
3 changed files with 11 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
export const BOOKMARK_WIDTH_REM = 2
export const getBookmarkWidthPx = () =>
BOOKMARK_WIDTH_REM *
parseFloat(getComputedStyle(document.documentElement).fontSize)