From 6f25b23abec7a63a40aaa447ac8cc5022162d67c Mon Sep 17 00:00:00 2001 From: Gitanjli <96485413+gitanjli525@users.noreply.github.com> Date: Tue, 10 Sep 2024 21:26:32 +0530 Subject: [PATCH] fix: ui bugs homepage (#1350) --- src/screens/OMPSwitch/MerchantSwitch.res | 2 +- src/screens/OMPSwitch/OMPSwitchHelper.res | 6 ++++-- src/screens/OMPSwitch/ProfileSwitch.res | 2 +- src/screens/Sidebar/SidebarSwitch.res | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/screens/OMPSwitch/MerchantSwitch.res b/src/screens/OMPSwitch/MerchantSwitch.res index 20e7a11be..22f3b4031 100644 --- a/src/screens/OMPSwitch/MerchantSwitch.res +++ b/src/screens/OMPSwitch/MerchantSwitch.res @@ -148,7 +148,7 @@ let make = () => { setArrow(prev => !prev) } -
+
{
-
+

{heading->React.string}

-

{subHeading->React.string}

+
+

{subHeading->React.string}

+
{ } let customPadding = "px-1 py-1" - let customStyle = "w-fit text-blue-500 bg-white dark:bg-black hover:bg-jp-gray-100 text-nowrap" + let customStyle = "text-blue-500 bg-white dark:bg-black hover:bg-jp-gray-100 text-nowrap w-full" let profileSwitch = async value => { try { diff --git a/src/screens/Sidebar/SidebarSwitch.res b/src/screens/Sidebar/SidebarSwitch.res index 0d3bb30e4..bae214157 100644 --- a/src/screens/Sidebar/SidebarSwitch.res +++ b/src/screens/Sidebar/SidebarSwitch.res @@ -16,7 +16,7 @@ let make = (~isSidebarExpanded=false) => { let expandedContent =
-
+