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: list styles
Johnny87798801fcc4
diff --git a/web/src/components/MemoContent/List.tsx b/web/src/components/MemoContent/List.tsxindex 87660146f..983c2f8a2 100644--- a/web/src/components/MemoContent/List.tsx+++ b/web/src/components/MemoContent/List.tsx@@ -43,8 +43,11 @@ 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"),- style: { paddingLeft: `${(2 * indent + 6) * 4}px` },+ className: cn(+ "list-inside break-all",+ kind === ListNode_Kind.ORDERED ? "list-decimal" : kind === ListNode_Kind.UNORDERED ? "list-disc" : "list-none",+ ),+ style: { paddingLeft: `${indent * 6}px` },...getAttributes(),},children.map((child, index) => {