diff --git a/src/lib/components/sidebar/details/DetailRow.svelte b/src/lib/components/sidebar/details/DetailRow.svelte index 0e4d3409..1ea92d13 100644 --- a/src/lib/components/sidebar/details/DetailRow.svelte +++ b/src/lib/components/sidebar/details/DetailRow.svelte @@ -16,7 +16,7 @@ let { label, value, children, noHover = false, noPadding = false, compact = false }: Props = $props() -
+
{label} {#if children} @@ -60,13 +60,22 @@ .value { font-size: typography.$font-regular; color: var(--text-primary, colors.$grey-10); + min-width: 180px; + } + + // Static value display (no children snippet) + &:not(.has-control) .value { font-weight: typography.$medium; text-align: right; - min-width: 180px; } &.compact .value { min-width: unset; } + + // Select controls inside DetailRow should have consistent width + .value :global([data-select-trigger]) { + min-width: 192px; + } }