diff --git a/src/screens/OMPSwitch/OMPSwitchHelper.res b/src/screens/OMPSwitch/OMPSwitchHelper.res index 3f6963905..f1d927764 100644 --- a/src/screens/OMPSwitch/OMPSwitchHelper.res +++ b/src/screens/OMPSwitch/OMPSwitchHelper.res @@ -24,28 +24,32 @@ module ListBaseComp = { let textColor = isDarkBg ? "text-grey-300" : "text-grey-900" let width = isDarkBg ? "w-[12rem]" : "min-w-[5rem] w-fit max-w-[10rem]" - let padding = isDarkBg ? "pl-2" : "" + let paddingSubheading = isDarkBg ? "pl-2" : "" + let paddingHeading = isDarkBg ? "pl-2" : "" - let endValue = isDarkBg ? 22 : 8 + let endValue = isDarkBg ? 23 : 15 - let subHeadingElement = if subHeading->String.length > 8 { + let subHeadingElement = if subHeading->String.length > 15 { } else { - + {subHeading->React.string} }
LogicUtils.isNonEmptyString}> -

{heading->React.string}

+

+ {heading->React.string} +

-

+

{subHeadingElement}

diff --git a/src/screens/OMPSwitch/OrgSwitch.res b/src/screens/OMPSwitch/OrgSwitch.res index 2e7827716..913f142d6 100644 --- a/src/screens/OMPSwitch/OrgSwitch.res +++ b/src/screens/OMPSwitch/OrgSwitch.res @@ -87,7 +87,7 @@ let make = () => { customSelectStyle="md:bg-blue-840 hover:bg-popover-background-hover rounded" searchable=false baseComponent={