From 12582d095ed7f4a40bb95d94560b9bc9928b813e Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 13 Aug 2024 21:32:27 +0200 Subject: [PATCH] Fix styling of notification browser permission denied banner (#31406) --- .../notifications/components/column_settings.jsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/javascript/mastodon/features/notifications/components/column_settings.jsx b/app/javascript/mastodon/features/notifications/components/column_settings.jsx index d511c5365fc..359f0fb1266 100644 --- a/app/javascript/mastodon/features/notifications/components/column_settings.jsx +++ b/app/javascript/mastodon/features/notifications/components/column_settings.jsx @@ -45,14 +45,18 @@ class ColumnSettings extends PureComponent { return (
- {alertsEnabled && browserSupport && browserPermission === 'denied' && ( - - )} -
+ {alertsEnabled && browserSupport && browserPermission === 'denied' && ( +
+ + + +
+ )} + {alertsEnabled && browserSupport && browserPermission === 'default' && (