Adjust settings window and fix dynamic dialog

This commit is contained in:
Gregory Schier
2025-01-13 12:11:38 -08:00
parent 72ab3f0a3c
commit 4295a09515
4 changed files with 6 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ export function Dialog({
size === 'md' && 'w-[45rem]',
size === 'lg' && 'w-[65rem]',
size === 'full' && 'w-[100vw] h-[100vh]',
size === 'dynamic' && 'min-w-[20rem] max-w-[100vw] w-full',
size === 'dynamic' && 'min-w-[20rem] max-w-[100vw]',
)}
>
{title ? (

View File

@@ -98,7 +98,7 @@ export function PlainInput({
labelPosition === 'top' && 'flex-row gap-0.5',
)}
>
<Label htmlFor={id} className={classNames(labelClassName, hideLabel && 'sr-only')}>
<Label htmlFor={id} className={classNames(labelClassName, 'flex-shrink-0', hideLabel && 'sr-only')}>
{label}
</Label>
<HStack