fix(511): fixed long named translations for the subtitle can break UI (#564)

This commit is contained in:
Ahmed Sbai
2025-02-23 15:03:22 +01:00
committed by GitHub
parent c951725222
commit 5bcae81538

View File

@@ -43,7 +43,7 @@ export const SubtitleTrackSelector: React.FC<Props> = ({
<DropdownMenu.Root>
<DropdownMenu.Trigger>
<View className="flex flex-col " {...props}>
<Text className="opacity-50 mb-1 text-xs">
<Text numberOfLines={1} className="opacity-50 mb-1 text-xs">
{t("item_card.subtitles")}
</Text>
<TouchableOpacity className="bg-neutral-900 h-10 rounded-xl border-neutral-800 border px-3 py-2 flex flex-row items-center justify-between">