Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalik88 committed Oct 15, 2024
1 parent 67c23d3 commit cc5a9e2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ui/pages/notifications/notification-components/snap/snap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
BackgroundColor,
Display,
FlexDirection,
FontWeight,
OverflowWrap,
} from '../../../../helpers/constants/design-system';
import {
Expand Down Expand Up @@ -79,18 +80,20 @@ export const components: NotificationComponent<SnapNotification> = {
<Box
display={Display.Flex}
style={{
border: '1px solid var(--color-border-muted)',
borderBottom: '1px solid var(--color-border-muted)',
}}
flexDirection={FlexDirection.Column}
padding={[4, 3, 4, 3]}
padding={[4, 2, 4, 4]}
>
<Box
display={Display.Flex}
alignItems={AlignItems.center}
paddingBottom={2}
>
<SnapIcon snapId={snapId} avatarSize={IconSize.Xl} />
<Text paddingLeft={4}>{snapsNameGetter(snapId)}</Text>
<Text paddingLeft={4} fontWeight={FontWeight.Medium}>
{snapsNameGetter(snapId)}
</Text>
</Box>
<Text overflowWrap={OverflowWrap.Normal}>
{notification.data.message}
Expand Down

0 comments on commit cc5a9e2

Please sign in to comment.