fix: Fixed issue where checklist item text in Super notes wasn't aligned correctly (#2656)

This commit is contained in:
Aman Harwara
2023-11-27 19:54:38 +05:30
committed by GitHub
parent c6b952ef23
commit 8ff0d20858
4 changed files with 50 additions and 35 deletions

View File

@@ -6,3 +6,13 @@ export enum EditorLineHeight {
Relaxed = 'Relaxed',
Loose = 'Loose',
}
// https://tailwindcss.com/docs/line-height
export const EditorLineHeightValues: { [key in EditorLineHeight]: number } = {
None: 1,
Tight: 1.25,
Snug: 1.375,
Normal: 1.5,
Relaxed: 1.625,
Loose: 2,
}