From 5fff398a2590ddb0f39333161a101953c1033c36 Mon Sep 17 00:00:00 2001 From: Skorpios Date: Thu, 6 Mar 2025 17:56:30 -0800 Subject: [PATCH] Got rid of all overridden styles. --- .../NotificationIntegrationModal.jsx | 136 ++++++++++++------ 1 file changed, 93 insertions(+), 43 deletions(-) diff --git a/src/Components/NotificationIntegrationModal/NotificationIntegrationModal.jsx b/src/Components/NotificationIntegrationModal/NotificationIntegrationModal.jsx index 0a70b6448..1015667f9 100644 --- a/src/Components/NotificationIntegrationModal/NotificationIntegrationModal.jsx +++ b/src/Components/NotificationIntegrationModal/NotificationIntegrationModal.jsx @@ -135,13 +135,10 @@ const NotificationIntegrationModal = ({ maxWidth="md" sx={{ '& .MuiDialog-paper': { - backgroundColor: theme.palette.primary.main, - color: '#344054', maxWidth: '775px' } }} > - {/* Left sidebar with tabs */} @@ -149,10 +146,15 @@ const NotificationIntegrationModal = ({ borderRight: 1, borderColor: 'divider', minWidth: '200px', - pr: 20 + pr: theme.spacing(10) }}> - - Add or edit notifications + + Add or edit notifications {/* Right side content */} - + {/* Slack Tab */} - Slack - + Slack + To enable Slack notifications, create a Slack app and enable incoming webhooks. After that, simply provide the webhook URL here. - - handleIntegrationChange('slack', e.target.checked)} - /> - + + handleIntegrationChange('slack', e.target.checked)} + /> + - - Webhook URL + + Webhook URL - +