瀏覽代碼

Merge pull request #4557 from RoyRao2333/dev/no-fucos-outline

chore: No outline when element is in `:focus-visible` state
DeanYao 1 年之前
父節點
當前提交
69642fba52
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      app/styles/globals.scss

+ 5 - 0
app/styles/globals.scss

@@ -86,6 +86,7 @@
     @include dark;
   }
 }
+
 html {
   height: var(--full-height);
 
@@ -110,6 +111,10 @@ body {
   @media only screen and (max-width: 600px) {
     background-color: var(--second);
   }
+
+  *:focus-visible {
+    outline: none;
+  }
 }
 
 ::-webkit-scrollbar {