Compare commits

...

1 Commits

Author SHA1 Message Date
Hailey cb0975430c font size experiment 2024-08-26 16:29:28 -07:00
3 changed files with 11 additions and 11 deletions
+6 -6
View File
@@ -17,12 +17,12 @@ export const space = {
} as const
export const fontSize = {
_2xs: 10,
xs: 12,
sm: 14,
md: 16,
lg: 18,
xl: 20,
_2xs: 9,
xs: 11,
sm: 13,
md: 15,
lg: 17,
xl: 19,
_2xl: 22,
_3xl: 26,
_4xl: 32,
+2 -2
View File
@@ -262,7 +262,7 @@ let FeedItemInner = ({
)}
</View>
<View style={{paddingTop: 12, flexShrink: 1}}>
<View style={{paddingTop: 10, flexShrink: 1}}>
{isReasonFeedSource(reason) ? (
<Link href={reason.href}>
<Text
@@ -523,7 +523,7 @@ function ReplyToLabel({
Reply to{' '}
<ProfileHoverCard inline did={profile.did}>
<TextLinkOnWebOnly
type="md"
type="sm"
style={pal.textLight}
lineHeight={1.2}
numberOfLines={1}
+3 -3
View File
@@ -80,7 +80,7 @@ let PostMeta = (opts: PostMetaOpts): React.ReactNode => {
onBeforePress={onBeforePressAuthor}
/>
<TextLinkOnWebOnly
type="md"
type="sm"
disableMismatchWarning
style={[pal.textLight, {flexShrink: 4}]}
text={NON_BREAKING_SPACE + sanitizeHandle(handle, '@')}
@@ -91,14 +91,14 @@ let PostMeta = (opts: PostMetaOpts): React.ReactNode => {
</Text>
</ProfileHoverCard>
{!isAndroid && (
<Text type="md" style={pal.textLight} accessible={false}>
<Text type="sm" style={pal.textLight} accessible={false}>
&middot;
</Text>
)}
<TimeElapsed timestamp={opts.timestamp}>
{({timeElapsed}) => (
<TextLinkOnWebOnly
type="md"
type="sm"
style={pal.textLight}
text={timeElapsed}
accessibilityLabel={niceDate(opts.timestamp)}