Browse Source

fix(ui): tab focus state

adamelmore 1 month ago
parent
commit
10d227b8d6
1 changed files with 7 additions and 1 deletions
  1. 7 1
      packages/ui/src/components/tabs.css

+ 7 - 1
packages/ui/src/components/tabs.css

@@ -63,6 +63,12 @@
       align-items: center;
       justify-content: center;
       padding: 14px 24px;
+      outline: none;
+
+      &:focus-visible {
+        outline: none;
+        box-shadow: none;
+      }
     }
 
     [data-slot="tabs-trigger-close-button"] {
@@ -81,7 +87,7 @@
     }
     &:focus-visible {
       outline: none;
-      box-shadow: 0 0 0 2px var(--border-focus);
+      box-shadow: none;
     }
     &:has([data-hidden]) {
       [data-slot="tabs-trigger-close-button"] {