revert prisma schema to latest, add global css for scroll-bar, fix css

This commit is contained in:
Francis Cao 2026-02-06 15:06:10 -08:00
parent c479a20cc0
commit 9b814aa1ca
13 changed files with 76 additions and 24 deletions

View file

@ -21,7 +21,12 @@ export function DateRangeSetting() {
return (
<Row gap="3">
<DateFilter value={date} onChange={handleChange} placement="bottom start" />
<DateFilter
value={date}
onChange={handleChange}
placement="bottom start"
style={{ minWidth: '250px' }}
/>
<Button onPress={handleReset}>{formatMessage(labels.reset)}</Button>
</Row>
);

View file

@ -34,6 +34,7 @@ export function LanguageSetting() {
onSearch={setSearch}
onOpenChange={handleOpen}
listProps={{ style: { maxHeight: 300 } }}
style={{ minWidth: '250px' }}
>
{items.map(item => (
<ListItem key={item} id={item}>

View file

@ -15,7 +15,7 @@ export function PreferenceSettings() {
}
return (
<Column width="400px" gap="6">
<Column gap="6">
<Column>
<Label>{formatMessage(labels.defaultDateRange)}</Label>
<DateRangeSetting />

View file

@ -30,6 +30,7 @@ export function TimezoneSetting() {
onSearch={setSearch}
onOpenChange={handleOpen}
listProps={{ style: { maxHeight: 300 } }}
style={{ minWidth: '250px' }}
>
{items.map((item: any) => (
<ListItem key={item} id={item}>