From 5c50e102055ec7bfbed08a970b4388ae95d4963a Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 16 Jun 2025 18:20:17 +0300 Subject: Align avatar in reply prompt (#8501) * align avi in reply prompt * update skellie --- .../components/ThreadItemReplyComposer.tsx | 23 ++++++---------------- .../com/post-thread/PostThreadComposePrompt.tsx | 13 ++++-------- 2 files changed, 10 insertions(+), 26 deletions(-) (limited to 'src') diff --git a/src/screens/PostThread/components/ThreadItemReplyComposer.tsx b/src/screens/PostThread/components/ThreadItemReplyComposer.tsx index f1862569e..d93612be8 100644 --- a/src/screens/PostThread/components/ThreadItemReplyComposer.tsx +++ b/src/screens/PostThread/components/ThreadItemReplyComposer.tsx @@ -1,30 +1,19 @@ import {View} from 'react-native' -import {OUTER_SPACE} from '#/screens/PostThread/const' import {atoms as a, useBreakpoints, useTheme} from '#/alf' import * as Skele from '#/components/Skeleton' -/* - * Wacky padding here is just replicating what we have in the actual - * `PostThreadComposePrompt` component - */ export function ThreadItemReplyComposerSkeleton() { const t = useTheme() const {gtMobile} = useBreakpoints() + if (!gtMobile) return null + return ( - - - - + + + + ) diff --git a/src/view/com/post-thread/PostThreadComposePrompt.tsx b/src/view/com/post-thread/PostThreadComposePrompt.tsx index f45b16085..dc0561725 100644 --- a/src/view/com/post-thread/PostThreadComposePrompt.tsx +++ b/src/view/com/post-thread/PostThreadComposePrompt.tsx @@ -38,15 +38,10 @@ export function PostThreadComposePrompt({ return ( {!gtMobile && ( @@ -87,7 +82,7 @@ export function PostThreadComposePrompt({ a.transition_color, ]}> -- cgit 1.4.1