diff --git a/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.module.scss b/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.module.scss index 16544618e..6dfaab9e8 100644 --- a/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.module.scss +++ b/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.module.scss @@ -1,7 +1,14 @@ +.description { + margin-bottom: 5px; +} + .pushPreview { border-style: dashed; border-width: 2px; - width: 30vw; + width: 100%; + max-width: 400px; + margin: 1%; + margin-top: 10px; .inner { margin: 10px; @@ -15,6 +22,13 @@ .permissionLine { margin-top: 5px; + display: flex; + align-items: center; + + .bell { + margin-top: -1px; + margin-right: 5px; + } } .buttonRow { @@ -30,10 +44,6 @@ background-color: white; } - .allow { - background-color: var(--theme-primary-color); - } - button { margin-left: 10px; padding-left: 15px; diff --git a/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx b/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx index 27ebdef9f..cb7d78d41 100644 --- a/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx +++ b/web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx @@ -1,4 +1,4 @@ -import { Row, Col, Spin, Typography, Button } from 'antd'; +import { Row, Spin, Typography, Button } from 'antd'; import React, { FC, useState } from 'react'; import { useRecoilValue } from 'recoil'; import { accessTokenAtom, clientConfigStateAtom } from '../../stores/ClientConfigStore'; @@ -25,6 +25,7 @@ const PermissionPopupPreview: FC = ({ start }) => (
{window.location.toString()} wants to
= ({ start }) => ( fill="#676670" /> - Show notifications + Show notifications