about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-12-13 12:20:38 -0600
committerGitHub <noreply@github.com>2024-12-13 18:20:38 +0000
commit41228dce19c43d606f0e2c84b993de6bca5f8fff (patch)
treeb414f9ef82a64d15d881540c47b31715c81a3514
parent356dad1932c3404f581b747127ae251dbe165bb3 (diff)
downloadvoidsky-41228dce19c43d606f0e2c84b993de6bca5f8fff.tar.zst
Better alignment on web (#7098)
-rw-r--r--src/screens/Profile/components/ProfileFeedHeader.tsx5
1 files changed, 3 insertions, 2 deletions
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}