Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: padding left of list
Steven789a9cc5a254
diff --git a/web/src/components/MemoContent/List.tsx b/web/src/components/MemoContent/List.tsxindex b0869a2b7..87660146f 100644--- a/web/src/components/MemoContent/List.tsx+++ b/web/src/components/MemoContent/List.tsx@@ -43,10 +43,8 @@ const List: React.FC<Props> = ({ kind, indent, children }: Props) => {return React.createElement(getListContainer(),{- className: cn(- kind === ListNode_Kind.ORDERED ? "list-decimal" : kind === ListNode_Kind.UNORDERED ? "list-disc" : "list-none",- `pl-${2 * indent + 6}`,- ),+ className: cn(kind === ListNode_Kind.ORDERED ? "list-decimal" : kind === ListNode_Kind.UNORDERED ? "list-disc" : "list-none"),+ style: { paddingLeft: `${(2 * indent + 6) * 4}px` },...getAttributes(),},children.map((child, index) => {