fix: update GroupedInsetListCard styles

This commit is contained in:
lawvs
2025-05-25 14:54:28 +08:00
parent cd9caf3d99
commit 17ed72d17d
2 changed files with 3 additions and 3 deletions
@@ -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