From e0e07c5d48ef0671f63ca8bd9119169ced493fac Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Tue, 30 Dec 2025 07:24:35 -0600 Subject: feat(app): change server --- packages/ui/src/components/dialog.css | 2 +- packages/ui/src/components/list.css | 22 +++++++++++++++++++--- packages/ui/src/components/list.tsx | 10 ++++++++-- 3 files changed, 28 insertions(+), 6 deletions(-) (limited to 'packages/ui/src/components') diff --git a/packages/ui/src/components/dialog.css b/packages/ui/src/components/dialog.css index 782f2570c..ff8587421 100644 --- a/packages/ui/src/components/dialog.css +++ b/packages/ui/src/components/dialog.css @@ -83,7 +83,7 @@ [data-slot="dialog-description"] { display: flex; padding: 16px; - padding-left: 20px; + padding-left: 24px; padding-top: 0; margin-top: -8px; justify-content: space-between; diff --git a/packages/ui/src/components/list.css b/packages/ui/src/components/list.css index 852bf486c..b896c4376 100644 --- a/packages/ui/src/components/list.css +++ b/packages/ui/src/components/list.css @@ -53,6 +53,8 @@ } > [data-component="icon-button"] { + width: 20px; + height: 20px; background-color: transparent; &:hover:not(:disabled), @@ -185,11 +187,25 @@ letter-spacing: var(--letter-spacing-normal); [data-slot="list-item-selected-icon"] { - color: var(--icon-strong-base); + display: inline-flex; + align-items: center; + justify-content: center; + flex-shrink: 0; + aspect-ratio: 1/1; + [data-component="icon"] { + color: var(--icon-strong-base); + } } [data-slot="list-item-active-icon"] { + display: inline-flex; + align-items: center; + justify-content: center; + flex-shrink: 0; + aspect-ratio: 1/1; display: none; - color: var(--icon-strong-base); + [data-component="icon"] { + color: var(--icon-strong-base); + } } [data-slot="list-item-extra-icon"] { @@ -201,7 +217,7 @@ border-radius: var(--radius-md); background: var(--surface-raised-base-hover); [data-slot="list-item-active-icon"] { - display: block; + display: inline-flex; } [data-slot="list-item-extra-icon"] { display: block !important; diff --git a/packages/ui/src/components/list.tsx b/packages/ui/src/components/list.tsx index a549c19e9..b94405c81 100644 --- a/packages/ui/src/components/list.tsx +++ b/packages/ui/src/components/list.tsx @@ -206,10 +206,16 @@ export function List(props: ListProps & { ref?: (ref: ListRef) => void }) > {props.children(item)} - + + + - {(icon) => } + {(icon) => ( + + + + )} )} -- cgit v1.2.3