diff --git a/src/components/modals/sleep-timer/sleep-timer.module.css b/src/components/modals/sleep-timer/sleep-timer.module.css index 5c2c35d..190eb4f 100644 --- a/src/components/modals/sleep-timer/sleep-timer.module.css +++ b/src/components/modals/sleep-timer/sleep-timer.module.css @@ -19,23 +19,32 @@ align-items: flex-start; margin-top: 8px; - & .inputContainer { + & .inputs { display: flex; - align-items: center; + column-gap: 12px; + align-items: flex-end; - & .input { - display: block; - height: 40px; - padding: 0 8px; - color: var(--color-foreground); - background-color: var(--color-neutral-50); - border: 1px solid var(--color-neutral-200); - border-radius: 4px; - outline: none; - } + & .field { + flex-grow: 1; - & .label { - width: 100px; + & .label { + display: block; + margin-bottom: 4px; + font-weight: 500; + } + + & .input { + display: block; + width: 100%; + min-width: 0; + height: 40px; + padding: 0 8px; + color: var(--color-foreground); + background-color: var(--color-neutral-50); + border: 1px solid var(--color-neutral-200); + border-radius: 4px; + outline: none; + } } } diff --git a/src/components/modals/sleep-timer/sleep-timer.tsx b/src/components/modals/sleep-timer/sleep-timer.tsx index ed2944b..f75670a 100644 --- a/src/components/modals/sleep-timer/sleep-timer.tsx +++ b/src/components/modals/sleep-timer/sleep-timer.tsx @@ -86,43 +86,15 @@ export function SleepTimerModal({ onClose, show }: SleepTimerModalProps) {