Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix toc items not indented

Abdullah Atta7e4d123a5189
diff --git a/apps/web/src/components/editor/table-of-contents.tsx b/apps/web/src/components/editor/table-of-contents.tsx
index 671619c4b..543ad152d 100644
--- a/apps/web/src/components/editor/table-of-contents.tsx
+++ b/apps/web/src/components/editor/table-of-contents.tsx
@@ -150,7 +150,7 @@ function TableOfContents(props: TableOfContentsProps) {
textAlign: "left",
paddingLeft: `${t.level * 5}px`,
py: 1,
- px: 1,
+ pr: 1,
borderLeft: "5px solid transparent",
borderColor: active.includes(t.id)
? "accent-selected"