summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/list.css
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-14 19:33:40 -0600
committerAdam <[email protected]>2025-12-14 21:38:58 -0600
commit4246cdb069502c96ab11e260eb36a07a0370b710 (patch)
treea6340608c5d4954b860806ca807e95682385be96 /packages/ui/src/components/list.css
parent7ade6d386daeea120415b69f9df522001350db7b (diff)
downloadopencode-4246cdb069502c96ab11e260eb36a07a0370b710.tar.gz
opencode-4246cdb069502c96ab11e260eb36a07a0370b710.zip
wip(desktop): progress
Diffstat (limited to 'packages/ui/src/components/list.css')
-rw-r--r--packages/ui/src/components/list.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/ui/src/components/list.css b/packages/ui/src/components/list.css
index 132824164..cd9e73d1d 100644
--- a/packages/ui/src/components/list.css
+++ b/packages/ui/src/components/list.css
@@ -2,6 +2,43 @@
display: flex;
flex-direction: column;
gap: 20px;
+ overflow: hidden;
+
+ [data-slot="list-search"] {
+ display: flex;
+ height: 40px;
+ flex-shrink: 0;
+ padding: 4px 10px 4px 16px;
+ align-items: center;
+ gap: 12px;
+ align-self: stretch;
+
+ border-radius: var(--radius-md);
+ background: var(--surface-base);
+
+ [data-slot="list-search-container"] {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ flex: 1 0 0;
+
+ [data-slot="list-search-input"] {
+ width: 100%;
+ }
+ }
+ }
+
+ [data-slot="list-scroll"] {
+ display: flex;
+ flex-direction: column;
+ gap: 20px;
+ overflow-y: auto;
+ scrollbar-width: none;
+ -ms-overflow-style: none;
+ &::-webkit-scrollbar {
+ display: none;
+ }
+ }
[data-slot="list-empty-state"] {
display: flex;
@@ -41,6 +78,7 @@
[data-slot="list-header"] {
display: flex;
+ z-index: 10;
height: 28px;
padding: 0 10px;
justify-content: space-between;