From d5d791e6ca10c840a24c88786deef3a122ccc895 Mon Sep 17 00:00:00 2001 From: Nilesh Gupta Date: Tue, 10 Oct 2023 16:48:49 +0530 Subject: [PATCH] few styling changes --- src/components/ViewChannelItem.js | 3 ++ .../dropdowns/ManageNotifSettingDropdown.tsx | 44 +++++++++---------- .../dropdowns/OptinNotifSettingDropdown.tsx | 2 +- .../dropdowns/UpdateNotifSettingDropdown.tsx | 4 +- 4 files changed, 28 insertions(+), 25 deletions(-) diff --git a/src/components/ViewChannelItem.js b/src/components/ViewChannelItem.js index 72f4561ba1..f33ba75faa 100644 --- a/src/components/ViewChannelItem.js +++ b/src/components/ViewChannelItem.js @@ -1362,6 +1362,9 @@ const UnsubscribeButton = styled(ChannelActionButton)` const OwnerButton = styled(ChannelActionButton)` background: #35c5f3; + border-radius: 8px; + min-height: 36px; + min-width: 108px; `; const Toaster = styled.div` diff --git a/src/components/dropdowns/ManageNotifSettingDropdown.tsx b/src/components/dropdowns/ManageNotifSettingDropdown.tsx index c4456ef52c..9bb7c6ea1f 100644 --- a/src/components/dropdowns/ManageNotifSettingDropdown.tsx +++ b/src/components/dropdowns/ManageNotifSettingDropdown.tsx @@ -52,28 +52,28 @@ const ManageNotifSettingDropdownContainer: React.FC - {channelSetting && - - - - - - Manage Settings - - - - + {(channelSetting && channelSetting.length != 0) && + + + + + + Manage Settings + + + + } optOutHandler({ setLoading: setTxInProgress })}> = (opt // render return ( - channelSetting ? + (channelSetting && channelSetting.length) ? - {setting.type === 2 && setting.enabled && ( + {setting.type === 2 && setting.enabled === true && (