fix: update GroupedInsetListCard styles
This commit is contained in:
@@ -58,7 +58,7 @@ export const GroupedInsetListCard: FC<
|
||||
{...props}
|
||||
style={[{ marginHorizontal: GROUPED_LIST_MARGIN }, props.style]}
|
||||
className={cn(
|
||||
"bg-secondary-system-grouped-background flex-1 overflow-hidden rounded-[10px]",
|
||||
"bg-secondary-system-grouped-background flex overflow-hidden rounded-[10px]",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
@@ -82,7 +82,7 @@ export const GroupedInsetListCard: FC<
|
||||
: NextSeparatorComponent
|
||||
|
||||
return (
|
||||
<Fragment key={index}>
|
||||
<Fragment key={typeof child === "object" && "key" in child ? child.key : index}>
|
||||
{child}
|
||||
{!isLast &&
|
||||
(NextSeparatorElement ?? (
|
||||
|
||||
@@ -23,7 +23,7 @@ export const DiscoverSettingsScreen = () => {
|
||||
Header={<NavigationBlurEffectHeaderView title={t("discoverFilters.title")} />}
|
||||
>
|
||||
<GroupedInsetListSectionHeader label={t("discoverFilters.filters")} marginSize="small" />
|
||||
<GroupedInsetListCard>
|
||||
<GroupedInsetListCard className="flex-row">
|
||||
<GroupedInsetListCell label={t("discoverFilters.language")}>
|
||||
<View className="w-[100px]">
|
||||
<Select
|
||||
|
||||
Reference in New Issue
Block a user