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