소스 검색

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);