mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-22 22:00:23 +01:00
fix: text ui scaling
Made text UI scaling follow OS level scailing to a limit to stop overlapping issues Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,9 @@ export const SectionHeader: React.FC<Props> = ({
|
||||
|
||||
return (
|
||||
<View className='px-4 flex flex-row items-center justify-between mb-2'>
|
||||
<Text className='text-lg font-bold text-neutral-100'>{title}</Text>
|
||||
<Text className='text-lg font-bold text-neutral-100' ellipsizeMode='tail'>
|
||||
{title}
|
||||
</Text>
|
||||
{shouldShowAction && (
|
||||
<TouchableOpacity
|
||||
onPress={onPressAction}
|
||||
@@ -29,6 +31,7 @@ export const SectionHeader: React.FC<Props> = ({
|
||||
className='py-1 pl-3'
|
||||
>
|
||||
<Text
|
||||
ellipsizeMode='tail'
|
||||
style={{
|
||||
color: actionDisabled ? "rgba(255,255,255,0.4)" : Colors.primary,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user