From 4a68bdf169dbf95dfd083dfa76c86ba31c99997d Mon Sep 17 00:00:00 2001 From: estifanos Date: Tue, 11 Aug 2026 12:24:03 +0000 Subject: [PATCH] UI fixes --- libs/ui/src/lib/input/AmharicDatePicker.tsx | 78 +++++++++++++-------- 1 file changed, 47 insertions(+), 31 deletions(-) diff --git a/libs/ui/src/lib/input/AmharicDatePicker.tsx b/libs/ui/src/lib/input/AmharicDatePicker.tsx index a9db1b2e4..9423a10a4 100644 --- a/libs/ui/src/lib/input/AmharicDatePicker.tsx +++ b/libs/ui/src/lib/input/AmharicDatePicker.tsx @@ -6,7 +6,10 @@ import { Group, MantineSize, Popover, + SegmentedControl, Select, + Stack, + Text, TextInput, } from '@mantine/core'; import { TimeInput } from '@mantine/dates'; @@ -375,15 +378,21 @@ export function AmharicDatePicker({ formatWireValue(mergeDateTime(selected, undefined, { hours: h24, minutes: m }), dateFormat, true), ); return ( - - ({ value: String(h), label: String(h) }))} - allowDeselect={false} - onChange={(next) => { - if (!next) return; - setTime(fromEthTime(period, Number(next)), minute); - }} - /> - ({ value: String(h), label: String(h) }))} + allowDeselect={false} + w={72} + comboboxProps={{ withinPortal: true }} + onChange={(next) => { + if (!next) return; + setTime(fromEthTime(period, Number(next)), minute); + }} + /> + + : + +