change fontSize: 15 to a.text_sm (#7896)
This commit is contained in:
@@ -114,12 +114,7 @@ export function PostControlButtonText({style, ...props}: TextProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Text
|
<Text
|
||||||
style={[
|
style={[color, big ? a.text_md : a.text_sm, active && a.font_bold, style]}
|
||||||
color,
|
|
||||||
big ? a.text_md : {fontSize: 15},
|
|
||||||
active && a.font_bold,
|
|
||||||
style,
|
|
||||||
]}
|
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ export function CountWheel({
|
|||||||
<Text
|
<Text
|
||||||
testID="likeCount"
|
testID="likeCount"
|
||||||
style={[
|
style={[
|
||||||
big ? a.text_md : {fontSize: 15},
|
big ? a.text_md : a.text_sm,
|
||||||
a.user_select_none,
|
a.user_select_none,
|
||||||
isLiked
|
isLiked
|
||||||
? [a.font_bold, s.likeColor]
|
? [a.font_bold, s.likeColor]
|
||||||
@@ -162,7 +162,7 @@ export function CountWheel({
|
|||||||
aria-disabled={true}>
|
aria-disabled={true}>
|
||||||
<Text
|
<Text
|
||||||
style={[
|
style={[
|
||||||
big ? a.text_md : {fontSize: 15},
|
big ? a.text_md : a.text_sm,
|
||||||
a.user_select_none,
|
a.user_select_none,
|
||||||
isLiked
|
isLiked
|
||||||
? [a.font_bold, s.likeColor]
|
? [a.font_bold, s.likeColor]
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ export function CountWheel({
|
|||||||
<Text
|
<Text
|
||||||
testID="likeCount"
|
testID="likeCount"
|
||||||
style={[
|
style={[
|
||||||
big ? a.text_md : {fontSize: 15},
|
big ? a.text_md : a.text_sm,
|
||||||
a.user_select_none,
|
a.user_select_none,
|
||||||
isLiked
|
isLiked
|
||||||
? [a.font_bold, s.likeColor]
|
? [a.font_bold, s.likeColor]
|
||||||
@@ -107,7 +107,7 @@ export function CountWheel({
|
|||||||
ref={prevCountView}>
|
ref={prevCountView}>
|
||||||
<Text
|
<Text
|
||||||
style={[
|
style={[
|
||||||
big ? a.text_md : {fontSize: 15},
|
big ? a.text_md : a.text_sm,
|
||||||
a.user_select_none,
|
a.user_select_none,
|
||||||
isLiked
|
isLiked
|
||||||
? [a.font_bold, s.likeColor]
|
? [a.font_bold, s.likeColor]
|
||||||
|
|||||||
Reference in New Issue
Block a user