From 41228dce19c43d606f0e2c84b993de6bca5f8fff Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 13 Dec 2024 12:20:38 -0600 Subject: Better alignment on web (#7098) --- src/screens/Profile/components/ProfileFeedHeader.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/screens/Profile/components/ProfileFeedHeader.tsx b/src/screens/Profile/components/ProfileFeedHeader.tsx index fbd7d5e61..87b242a55 100644 --- a/src/screens/Profile/components/ProfileFeedHeader.tsx +++ b/src/screens/Profile/components/ProfileFeedHeader.tsx @@ -12,6 +12,7 @@ import {shareUrl} from '#/lib/sharing' import {sanitizeHandle} from '#/lib/strings/handles' import {toShareUrl} from '#/lib/strings/url-helpers' import {logger} from '#/logger' +import {isWeb} from '#/platform/detection' import {FeedSourceFeedInfo} from '#/state/queries/feed' import {useLikeMutation, useUnlikeMutation} from '#/state/queries/like' import { @@ -161,7 +162,7 @@ export function ProfileFeedHeader({info}: {info: FeedSourceFeedInfo}) { style={[ a.justify_start, { - paddingVertical: 6, + paddingVertical: isWeb ? 4 : 6, paddingHorizontal: 8, paddingRight: 12, }, @@ -198,7 +199,7 @@ export function ProfileFeedHeader({info}: {info: FeedSourceFeedInfo}) { a.text_md, a.font_heavy, a.leading_tight, - gtMobile && a.text_xl, + gtMobile && a.text_lg, ]} numberOfLines={2}> {info.displayName} -- cgit 1.4.1