Skip to content

Commit

Permalink
Allow xy scrollbars in Notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 10, 2024
1 parent a6435a4 commit e471ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Notifications/Notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function Notifications(props: NotificationsProps) {
<Stack px={16} py={hideTitle ? 0 : 16} gap="xs" h="100%">
<Box ta="center">{!hideTitle && <Title order={3}>Notifications</Title>}</Box>
<Box style={{ flexGrow: 1 }} />
<ScrollArea scrollbars="y" type="never" viewportRef={ref}>
<ScrollArea scrollbars="xy" type="never" viewportRef={ref}>
{elements.length === 0 ? (
<Text pb="50vh" ta="center" style={{ textShadow: 'gray 0.2px 0.2px' }}>
No notifications yet
Expand Down

0 comments on commit e471ffa

Please sign in to comment.