From 7e5f3dbf1156c4ba4bea8e86cfd07dcb50c7f59c Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 16 Jan 2023 03:38:16 +0900 Subject: [PATCH] set -webkit-touch-callout (#9447) --- packages/frontend/src/components/global/MkUrl.vue | 2 +- packages/frontend/src/style.scss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/global/MkUrl.vue b/packages/frontend/src/components/global/MkUrl.vue index e3fdabe38..27c8329dc 100644 --- a/packages/frontend/src/components/global/MkUrl.vue +++ b/packages/frontend/src/components/global/MkUrl.vue @@ -14,7 +14,7 @@ {{ self ? pathname.substring(1) : pathname }} {{ query }} {{ hash }} - + diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss index 2c8c6c9e7..4c6b76435 100644 --- a/packages/frontend/src/style.scss +++ b/packages/frontend/src/style.scss @@ -98,10 +98,15 @@ a { color: inherit; tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent; + -webkit-touch-callout: none; &:hover { text-decoration: underline; } + + &[target="_blank"] { + -webkit-touch-callout: default; + } } textarea, input {