summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-03-05 07:17:41 -0600
committerAdam <[email protected]>2026-03-05 08:00:42 -0600
commit6f9e5335dc53339c7bbb3d511867946b8aa535d3 (patch)
tree30b32cae5c2fda50069ecb56dfb8ad6c181023be /packages/ui/src/components
parent6c9ae5ce9fb83ebfe175d763d33df2a778db7f64 (diff)
downloadopencode-6f9e5335dc53339c7bbb3d511867946b8aa535d3.tar.gz
opencode-6f9e5335dc53339c7bbb3d511867946b8aa535d3.zip
fix(app): file icon stability
Diffstat (limited to 'packages/ui/src/components')
-rw-r--r--packages/ui/src/components/tabs.css10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/ui/src/components/tabs.css b/packages/ui/src/components/tabs.css
index f8045702f..51917489e 100644
--- a/packages/ui/src/components/tabs.css
+++ b/packages/ui/src/components/tabs.css
@@ -241,26 +241,26 @@
[data-slot="tabs-trigger"] {
.tab-fileicon-color,
.tab-fileicon-mono {
- transition: opacity 120ms ease;
+ pointer-events: none;
}
.tab-fileicon-color {
- opacity: 0;
+ display: none;
}
.tab-fileicon-mono {
- opacity: 1;
+ display: block;
color: currentColor;
}
&[data-selected],
&:hover {
.tab-fileicon-color {
- opacity: 1;
+ display: block;
}
.tab-fileicon-mono {
- opacity: 0;
+ display: none;
}
}
}