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

This commit is contained in:
Francis Cao committed 2026-02-06 15:06:10 -08:00
1 parent c479a20cc0
commit 9b814aa1ca
13 files changed
+76 -24

No files matched your search

+2 -2
View File
@@ -49,8 +49,8 @@ export function App({ children }) {
<Column display={{ base: 'none', lg: 'flex' }}>
<SideNav />
</Column>
<Column alignItems="center" overflowY="auto" overflowX="hidden" position="relative">
{children}
<Column overflowX="hidden" position="relative">
<Column alignItems="center">{children}</Column>
</Column>
<UpdateNotice user={user} config={config} />
{process.env.NODE_ENV === 'production' && !pathname.includes('/share/') && (
+1 -1
View File
@@ -12,7 +12,7 @@ export function SettingsLayout({ children }: { children: ReactNode }) {
width="240px"
height="100%"
border="right"
backgroundColor
backgroundColor={'surface-raised'}
marginRight="2"
padding="3"
>
@@ -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>
);
@@ -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}>
@@ -15,7 +15,7 @@ export function PreferenceSettings() {
}
return (
<Column width="400px" gap="6">
<Column gap="6">
<Column>
<Label>{formatMessage(labels.defaultDateRange)}</Label>
<DateRangeSetting />
@@ -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}>
@@ -29,7 +29,7 @@ export function ProfileSettings() {
};
return (
<Column width="400px" gap="6">
<Column gap="6">
<Column>
<Label>{formatMessage(labels.username)}</Label>
{username}
@@ -61,7 +61,7 @@ export function SessionActivity({
return (
<Column key={eventId} gap>
{showHeader && <Heading size="sm">{formatTimezoneDate(createdAt, 'PPPP')}</Heading>}
{showHeader && <Heading size="lg">{formatTimezoneDate(createdAt, 'PPPP')}</Heading>}
<Row alignItems="center" gap="6" height="40px">
<StatusLight color={`#${visitId?.substring(0, 6)}`}>
<Text wrap="nowrap">{formatTimezoneDate(createdAt, 'pp')}</Text>