feat: 💄 add scrollbar to preview pane
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
RaviAnand Mohabir 2025-04-08 18:54:50 +02:00
parent 96777f9a4b
commit c7b299624e

View File

@ -520,10 +520,13 @@ function Organizrr() {
</AppShell.Main> </AppShell.Main>
<AppShell.Aside p="md" bg="var(--mantine-primary-color-0)"> <AppShell.Aside p="md" bg="var(--mantine-primary-color-0)">
<Stack align="center"> <AppShell.Section>
<Group style={{ alignSelf: "start" }}> <Group style={{ alignSelf: "start" }}>
<IconEye /> <Title order={3}>Preview</Title> <IconEye /> <Title order={3}>Preview</Title>
</Group> </Group>
</AppShell.Section>
<AppShell.Section grow my="md" component={ScrollArea}>
<Stack align="center">
<Select <Select
label="Select file" label="Select file"
data={form.values.documents.map(({ id, file }) => ({ data={form.values.documents.map(({ id, file }) => ({
@ -552,6 +555,7 @@ function Organizrr() {
</> </>
)} )}
</Stack> </Stack>
</AppShell.Section>
</AppShell.Aside> </AppShell.Aside>
<AppShell.Footer p="md"> <AppShell.Footer p="md">