diff --git a/apps/admin-x-design-system/src/global/SortMenu.tsx b/apps/admin-x-design-system/src/global/SortMenu.tsx index c0bb216a11..49eb41364f 100644 --- a/apps/admin-x-design-system/src/global/SortMenu.tsx +++ b/apps/admin-x-design-system/src/global/SortMenu.tsx @@ -66,7 +66,7 @@ const SortMenu: React.FC = ({ return (
-
Sort by
+
Sort by
{localItems.map(item => ( : null} diff --git a/apps/admin-x-design-system/src/global/form/TextArea.tsx b/apps/admin-x-design-system/src/global/form/TextArea.tsx index 163ebb1b35..d8c8fd3301 100644 --- a/apps/admin-x-design-system/src/global/form/TextArea.tsx +++ b/apps/admin-x-design-system/src/global/form/TextArea.tsx @@ -95,7 +95,7 @@ const TextArea: React.FC = ({ onFocus={handleFocus} {...props}> - {title && {title}} + {title && {title}} {hint && {hint}} {maxLength && Max length is {maxLength}}
diff --git a/apps/admin-x-design-system/src/global/form/TextField.tsx b/apps/admin-x-design-system/src/global/form/TextField.tsx index 5e62848785..83630ce98b 100644 --- a/apps/admin-x-design-system/src/global/form/TextField.tsx +++ b/apps/admin-x-design-system/src/global/form/TextField.tsx @@ -126,7 +126,7 @@ const TextField: React.FC = ({ return (
{field} - {title && {title}} + {title && {title}} {hint && {hint}}
); diff --git a/apps/admin-x-settings/src/components/settings/growth/offers/AddOfferModal.tsx b/apps/admin-x-settings/src/components/settings/growth/offers/AddOfferModal.tsx index 70cb6ad3e3..8376aa0b19 100644 --- a/apps/admin-x-settings/src/components/settings/growth/offers/AddOfferModal.tsx +++ b/apps/admin-x-settings/src/components/settings/growth/offers/AddOfferModal.tsx @@ -31,7 +31,7 @@ interface OfferType { } const ButtonSelect: React.FC<{type: OfferType, checked: boolean, onClick: () => void}> = ({type, checked, onClick}) => { - const checkboxClass = checked ? 'bg-black text-white' : 'border border-grey-300'; + const checkboxClass = checked ? 'bg-black text-white dark:bg-white dark:text-black' : 'border border-grey-300 dark:border-grey-800'; return (