Skip to content

Commit c668dd2

Browse files
committed
chore: update modal content layout
1 parent 26b5745 commit c668dd2

File tree

1 file changed

+8
-14
lines changed
  • src/components/utils/NotificationPwaModal

1 file changed

+8
-14
lines changed

src/components/utils/NotificationPwaModal/index.tsx

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,20 @@ export const NotificationPwaModal: React.FC = () => {
4646
<div className="NotificationPwaModal__icon">
4747
<img alt="Web3Inbox icon" className="wc-icon" src="/icon.png" />
4848
</div>
49-
<div className="NotificationPwaModal__header">
50-
<Text variant={'large-500'}>Enable Notifications</Text>
51-
</div>
52-
<div className="NotificationPwaModal__description">
53-
<Text variant="small-500">
54-
To use Web3Inbox and receive notifications from your subscribed apps, please enable push
55-
notifications.
56-
</Text>
57-
</div>
49+
<Text variant={'large-500'}>Enable Notifications</Text>
50+
<Text variant="small-500">
51+
To use Web3Inbox and receive notifications from your subscribed apps, please enable push
52+
notifications.
53+
</Text>
5854
{explicitlyDeniedPermissionForNotifications ? (
5955
<Text variant="small-700" className="NotificationPwaModal__warning">
6056
You have explicitly denied notification permissions. Please adjust in OS settings.
6157
</Text>
6258
) : (
6359
<Fragment>
64-
<div className="NotificationPwaModal_subtitle">
65-
<Text variant="small-500">
66-
You can always adjust your permissions in your OS settings.
67-
</Text>
68-
</div>
60+
<Text variant="small-500">
61+
You can always adjust your permissions in your OS settings.
62+
</Text>
6963
<Button onClick={handleEnableNotifications} size="small">
7064
Enable Notifications
7165
</Button>

0 commit comments

Comments
 (0)