Browse Source

tweak(ui): align pill tabs pressed background

David Hill 8 tháng trước cách đây
mục cha
commit
e5d52e4eb5
1 tập tin đã thay đổi với 4 bổ sung và 0 xóa
  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);