Disallow some font scaling
parent
61deab7051
commit
42b28fec9d
|
@ -358,6 +358,7 @@ export function TenMillionInner({userNumber}: {userNumber: number}) {
|
||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
<Text
|
<Text
|
||||||
|
allowFontScaling={false}
|
||||||
style={[
|
style={[
|
||||||
a.text_md,
|
a.text_md,
|
||||||
a.font_bold,
|
a.font_bold,
|
||||||
|
@ -372,6 +373,7 @@ export function TenMillionInner({userNumber}: {userNumber: number}) {
|
||||||
</Text>
|
</Text>
|
||||||
<View style={[a.flex_row, a.align_start]}>
|
<View style={[a.flex_row, a.align_start]}>
|
||||||
<Text
|
<Text
|
||||||
|
allowFontScaling={false}
|
||||||
style={[
|
style={[
|
||||||
a.absolute,
|
a.absolute,
|
||||||
{
|
{
|
||||||
|
@ -391,6 +393,7 @@ export function TenMillionInner({userNumber}: {userNumber: number}) {
|
||||||
#
|
#
|
||||||
</Text>
|
</Text>
|
||||||
<Text
|
<Text
|
||||||
|
allowFontScaling={false}
|
||||||
style={[
|
style={[
|
||||||
a.relative,
|
a.relative,
|
||||||
a.text_center,
|
a.text_center,
|
||||||
|
@ -450,6 +453,7 @@ export function TenMillionInner({userNumber}: {userNumber: number}) {
|
||||||
*/}
|
*/}
|
||||||
<View style={[a.gap_2xs, a.flex_1]}>
|
<View style={[a.gap_2xs, a.flex_1]}>
|
||||||
<Text
|
<Text
|
||||||
|
allowFontScaling={false}
|
||||||
style={[
|
style={[
|
||||||
a.flex_1,
|
a.flex_1,
|
||||||
a.text_sm,
|
a.text_sm,
|
||||||
|
@ -466,6 +470,7 @@ export function TenMillionInner({userNumber}: {userNumber: number}) {
|
||||||
<View
|
<View
|
||||||
style={[a.flex_row, a.justify_between, a.gap_4xl]}>
|
style={[a.flex_row, a.justify_between, a.gap_4xl]}>
|
||||||
<Text
|
<Text
|
||||||
|
allowFontScaling={false}
|
||||||
numberOfLines={1}
|
numberOfLines={1}
|
||||||
style={[
|
style={[
|
||||||
a.flex_1,
|
a.flex_1,
|
||||||
|
@ -479,6 +484,7 @@ export function TenMillionInner({userNumber}: {userNumber: number}) {
|
||||||
|
|
||||||
{profile.createdAt && (
|
{profile.createdAt && (
|
||||||
<Text
|
<Text
|
||||||
|
allowFontScaling={false}
|
||||||
numberOfLines={1}
|
numberOfLines={1}
|
||||||
ellipsizeMode="head"
|
ellipsizeMode="head"
|
||||||
style={[
|
style={[
|
||||||
|
@ -582,6 +588,7 @@ export function TenMillionInner({userNumber}: {userNumber: number}) {
|
||||||
|
|
||||||
<View style={[gtMobile ? a.p_2xl : a.p_xl]}>
|
<View style={[gtMobile ? a.p_2xl : a.p_xl]}>
|
||||||
<Text
|
<Text
|
||||||
|
allowFontScaling={false}
|
||||||
style={[
|
style={[
|
||||||
a.text_5xl,
|
a.text_5xl,
|
||||||
a.leading_tight,
|
a.leading_tight,
|
||||||
|
|
Loading…
Reference in New Issue