diff --git a/src/components/Divider.tsx b/src/components/Divider.tsx index 09e3595..21fda77 100644 --- a/src/components/Divider.tsx +++ b/src/components/Divider.tsx @@ -1,6 +1,6 @@ export function Divider() { return ( -
+ ) } diff --git a/src/components/MarkDownEditor/md.css b/src/components/MarkDownEditor/md.css index 4038560..663594d 100644 --- a/src/components/MarkDownEditor/md.css +++ b/src/components/MarkDownEditor/md.css @@ -31,7 +31,7 @@ } .TMCode { - @apply text-blue-800 px-1; + @apply text-blue-800 px-1 dark:bg-[#ffffff26] dark:text-blue-200 dark:border-[#545454]; } .TMBlockquote { diff --git a/src/components/NoteCard.tsx b/src/components/NoteCard.tsx index e370823..590e8ad 100644 --- a/src/components/NoteCard.tsx +++ b/src/components/NoteCard.tsx @@ -109,7 +109,7 @@ export function NoteCard({ key: itemKey, data: item }: NoteCard.NoteCardProps) { focusedItem.value = itemKey } - function _handleExportClick(e) { + function _handleExportClick(_e: MouseEvent) { createFileAndExport("Note", item.contents, "text/markdown") } @@ -132,6 +132,7 @@ export function NoteCard({ key: itemKey, data: item }: NoteCard.NoteCardProps) { className="overflow-hidden text-[#333] dark:bg-[#1a1a1a] dark:border-[#1c1c1c] bg-[#eee] select-none transition flex flex-col justify-stretch shadow-md rounded border border-[#ddd] absolute" >