瀏覽代碼

tweak(ui): align pill tabs pressed background

David Hill 8 月之前
父節點
當前提交
e5d52e4eb5
共有 1 個文件被更改,包括 4 次插入 和 0 次删除
  1. 4 0
      packages/ui/src/components/tabs.css

+ 4 - 0
packages/ui/src/components/tabs.css

@@ -257,6 +257,10 @@
         color: var(--text-strong);
       }
 
+      &:active:not(:disabled) {
+        background-color: var(--surface-raised-base-active);
+      }
+
       &:has([data-selected]) {
         background-color: var(--surface-raised-base-active);
         color: var(--text-strong);