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
chore: remove animation of spoiler
Steven0afdbe3332ec
diff --git a/web/src/components/MemoContent/Spoiler.tsx b/web/src/components/MemoContent/Spoiler.tsxindex f0a86f445..3855ffade 100644--- a/web/src/components/MemoContent/Spoiler.tsx+++ b/web/src/components/MemoContent/Spoiler.tsx@@ -10,7 +10,7 @@ const Spoiler: React.FC<Props> = ({ content }: Props) => {return (<span- className={classNames("inline cursor-pointer select-none", isRevealed ? "" : "animate-pulse bg-gray-200 dark:bg-zinc-700")}+ className={classNames("inline cursor-pointer select-none", isRevealed ? "" : "bg-gray-200 dark:bg-zinc-700")}onClick={() => setIsRevealed(!isRevealed)}><span className={classNames(isRevealed ? "opacity-100" : "opacity-0")}>{content}</span>