From 5f4a1c24f0ea6c8873cb78efabb3a60944b3b720 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Wed, 14 Aug 2024 08:51:38 +0700 Subject: [PATCH] Fix touch border --- src/assets/css/button.styl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/css/button.styl b/src/assets/css/button.styl index 99f23fb..5b68161 100644 --- a/src/assets/css/button.styl +++ b/src/assets/css/button.styl @@ -152,8 +152,8 @@ bottom: offset; } - body[data-input-mode=Touch] &, - body[data-input-mode=Mouse] & { + html[data-active-input=touch] &, + html[data-active-input=mouse] & { &:focus::after { border-color: transparent !important; }