mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: dark mode for main pages (#637)
* feat: update dark mode styles for auth and explore page * feat: dark mode for home page
This commit is contained in:
@ -149,9 +149,7 @@ const Memo: React.FC<Props> = (props: Props) => {
|
||||
const handleMemoContentDoubleClick = (e: React.MouseEvent) => {
|
||||
const targetEl = e.target as HTMLElement;
|
||||
|
||||
if (targetEl.className === "memo-link-text") {
|
||||
return;
|
||||
} else if (targetEl.className === "tag-span") {
|
||||
if (targetEl.className === "tag-span") {
|
||||
return;
|
||||
} else if (targetEl.classList.contains("todo-block")) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user