diff options
| author | David Hill <[email protected]> | 2026-01-26 18:09:02 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-01-26 19:47:58 +0000 |
| commit | 0dcb850a7a0d49d352b9701e693b492a2d96c847 (patch) | |
| tree | da3d89fb016f5e4cf789de60935c1c4642f98a1b /packages/ui/src/components | |
| parent | d9a61cd94c56d6daf290895a23392f24cc505502 (diff) | |
| download | opencode-0dcb850a7a0d49d352b9701e693b492a2d96c847.tar.gz opencode-0dcb850a7a0d49d352b9701e693b492a2d96c847.zip | |
fix(ui): scope filetree pill tabs styling
Diffstat (limited to 'packages/ui/src/components')
| -rw-r--r-- | packages/ui/src/components/tabs.css | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/ui/src/components/tabs.css b/packages/ui/src/components/tabs.css index 1fb6e9b61..a283ab652 100644 --- a/packages/ui/src/components/tabs.css +++ b/packages/ui/src/components/tabs.css @@ -264,6 +264,27 @@ } } + &[data-variant="pill"][data-orientation="horizontal"][data-scope="filetree"] { + [data-slot="tabs-list"] { + padding: 12px; + gap: 8px; + } + + [data-slot="tabs-trigger-wrapper"] { + height: 26px; + border-radius: 6px; + color: var(--text-weak); + + &:not(:has([data-selected])):hover:not(:disabled) { + color: var(--text-base); + } + + &:has([data-selected]) { + color: var(--text-strong); + } + } + } + &[data-orientation="vertical"] { flex-direction: row; |
