From 44a82494041ac5d38ec5e4d0c7ac22f75dc70c71 Mon Sep 17 00:00:00 2001 From: ShittyKopper Date: Wed, 31 Jan 2024 17:07:29 +0300 Subject: [PATCH] fix: blue highlight on chromium when using click to open --- packages/frontend/src/components/MkNote.vue | 1 + packages/frontend/src/components/MkSubNoteContent.vue | 1 + packages/frontend/src/components/SkNote.vue | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 4842ab2f1a..aee74138c2 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -1278,5 +1278,6 @@ function emitUpdReaction(emoji: string, delta: number) { .clickToOpen { cursor: pointer; + -webkit-tap-highlight-color: transparent; } diff --git a/packages/frontend/src/components/MkSubNoteContent.vue b/packages/frontend/src/components/MkSubNoteContent.vue index dfaa583d6f..852fb8cc99 100644 --- a/packages/frontend/src/components/MkSubNoteContent.vue +++ b/packages/frontend/src/components/MkSubNoteContent.vue @@ -165,5 +165,6 @@ const collapsed = ref(isLong); .clickToOpen { cursor: pointer; + -webkit-tap-highlight-color: transparent; } diff --git a/packages/frontend/src/components/SkNote.vue b/packages/frontend/src/components/SkNote.vue index 704c31e92a..0e00b60daf 100644 --- a/packages/frontend/src/components/SkNote.vue +++ b/packages/frontend/src/components/SkNote.vue @@ -1312,5 +1312,6 @@ function emitUpdReaction(emoji: string, delta: number) { .clickToOpen { cursor: pointer; + -webkit-tap-highlight-color: transparent; }