compote-ui 0.47.2 → 0.47.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
const locale = useLocaleContext();
|
|
18
18
|
const rootClass = $derived(
|
|
19
19
|
layout === 'horizontal'
|
|
20
|
-
? 'flex items-center gap-1.5
|
|
20
|
+
? 'flex items-center justify-between gap-1.5 w-full data-disabled:opacity-50 data-disabled:grayscale'
|
|
21
21
|
: 'flex flex-col gap-1.5 w-full max-w-48 data-disabled:opacity-50 data-disabled:grayscale'
|
|
22
22
|
);
|
|
23
23
|
</script>
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
{/if}
|
|
54
54
|
<NumberInput.Control class="relative isolate">
|
|
55
55
|
<NumberInput.Input
|
|
56
|
-
class="h-9 max-w-
|
|
56
|
+
class="h-9 w-full max-w-48 rounded-md border bg-surface-1 px-3 pr-8 text-right text-sm font-medium tabular-nums shadow-sm focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none data-invalid:border-danger data-invalid:focus-visible:ring-danger"
|
|
57
57
|
/>
|
|
58
58
|
<div
|
|
59
59
|
class="absolute top-px right-px bottom-px z-10 flex w-6 flex-col overflow-hidden rounded-r border-l"
|