summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-19 05:03:23 -0600
committerAdam <[email protected]>2026-01-20 07:33:44 -0600
commitdd5b5f5482df86959f0ea90e20f86ca7a5e19b08 (patch)
tree6c0d7c1058dea1a62fb00cc058eb8b6b193aae12 /packages/ui/src
parent924fc9ed803d4dfa89faed65579a5a85cd7666c0 (diff)
downloadopencode-dd5b5f5482df86959f0ea90e20f86ca7a5e19b08.tar.gz
opencode-dd5b5f5482df86959f0ea90e20f86ca7a5e19b08.zip
chore: cleanup
Diffstat (limited to 'packages/ui/src')
-rw-r--r--packages/ui/src/components/select.css19
-rw-r--r--packages/ui/src/components/switch.css1
2 files changed, 2 insertions, 18 deletions
diff --git a/packages/ui/src/components/select.css b/packages/ui/src/components/select.css
index 49b644db0..eb0911c3d 100644
--- a/packages/ui/src/components/select.css
+++ b/packages/ui/src/components/select.css
@@ -53,11 +53,7 @@
background-color: var(--surface-raised-stronger-non-alpha);
padding: 2px;
box-shadow: var(--shadow-xs-border);
- z-index: 50;
-
- &[data-closed] {
- animation: select-close 0.15s ease-out;
- }
+ z-index: 60;
&[data-expanded] {
animation: select-open 0.15s ease-out;
@@ -80,9 +76,6 @@
}
}
- /* [data-slot="select-section"] { */
- /* } */
-
[data-slot="select-select-item"] {
position: relative;
display: flex;
@@ -142,13 +135,3 @@
}
}
-@keyframes select-close {
- from {
- opacity: 1;
- transform: scale(1);
- }
- to {
- opacity: 0;
- transform: scale(0.95);
- }
-}
diff --git a/packages/ui/src/components/switch.css b/packages/ui/src/components/switch.css
index c01e45d5f..89e844732 100644
--- a/packages/ui/src/components/switch.css
+++ b/packages/ui/src/components/switch.css
@@ -1,4 +1,5 @@
[data-component="switch"] {
+ position: relative;
display: flex;
align-items: center;
gap: 8px;