diff options
| author | David Hill <[email protected]> | 2026-01-27 14:01:04 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-01-27 14:04:10 +0000 |
| commit | c68261fc067c148c3b986441f4173e4bcb6d3fa9 (patch) | |
| tree | 316a9418453a1fb32513515ece8811105bc53004 /packages/ui/src | |
| parent | 2d0049f0d9d20976543454cd9f844112eb8f1cd4 (diff) | |
| download | opencode-c68261fc067c148c3b986441f4173e4bcb6d3fa9.tar.gz opencode-c68261fc067c148c3b986441f4173e4bcb6d3fa9.zip | |
fix(ui): add max-width 280px to tabs with text truncation
Diffstat (limited to 'packages/ui/src')
| -rw-r--r-- | packages/ui/src/components/tabs.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/ui/src/components/tabs.css b/packages/ui/src/components/tabs.css index 8a872ebad..6b57f0c04 100644 --- a/packages/ui/src/components/tabs.css +++ b/packages/ui/src/components/tabs.css @@ -54,6 +54,7 @@ white-space: nowrap; flex-shrink: 0; + max-width: 280px; border-bottom: 1px solid var(--border-weak-base); border-right: 1px solid var(--border-weak-base); background-color: var(--background-base); @@ -62,8 +63,11 @@ display: flex; align-items: center; justify-content: center; - padding: 14px 24px; + padding: 14px 24px 14px 12px; outline: none; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; &:focus-visible { outline: none; |
