From bf0129968eb2251fda13d8b652b29728025624b4 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 13 Aug 2024 21:32:27 +0200 Subject: [PATCH] [Glitch] Fix styling of notification browser permission denied banner Port 12582d095ed7f4a40bb95d94560b9bc9928b813e to glitch-soc Signed-off-by: Claire --- .../notifications/components/column_settings.jsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/features/notifications/components/column_settings.jsx b/app/javascript/flavours/glitch/features/notifications/components/column_settings.jsx index e38a24884a..f98d09b500 100644 --- a/app/javascript/flavours/glitch/features/notifications/components/column_settings.jsx +++ b/app/javascript/flavours/glitch/features/notifications/components/column_settings.jsx @@ -47,14 +47,18 @@ class ColumnSettings extends PureComponent { return (
- {alertsEnabled && browserSupport && browserPermission === 'denied' && ( - - )} -
+ {alertsEnabled && browserSupport && browserPermission === 'denied' && ( +
+ + + +
+ )} + {alertsEnabled && browserSupport && browserPermission === 'default' && (