0

fix(web): remove extra spacing above headers in modals

This commit is contained in:
Gabe Kangas 2023-04-15 19:58:52 -07:00
parent 855faca0da
commit 74bdab81a3
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
2 changed files with 7 additions and 2 deletions

View File

@ -60,7 +60,7 @@ const PermissionPopupPreview: FC<PermissionPopupPreviewProps> = ({ start }) => (
const NotificationsEnabled = () => (
<div>
<Title>Notifications are enabled</Title>
<Title level={2}>Notifications are enabled</Title>
To disable push notifications from {window.location.hostname.toString()} access your browser
permissions for this site and turn off notifications.
<a href="https://owncast.online/docs/notifications"> Learn more.</a>

View File

@ -10,5 +10,10 @@
padding: 2vw;
background-color: var(--theme-color-components-modal-content-background);
color: var(--theme-color-components-modal-content-text);
}
h1:first-child,
h2:first-child,
h3:first-child {
margin-top: unset;
}
}