about summary refs log tree commit diff
path: root/src/view/com/composer/ComposerReplyTo.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-11-01 03:45:55 +0000
committerGitHub <noreply@github.com>2024-11-01 03:45:55 +0000
commit7a08d61d889328ff5e3b8ba61faab71a5568df2f (patch)
tree105fd6ef552581048349ca1e756b71daebf7fc20 /src/view/com/composer/ComposerReplyTo.tsx
parent01c9ac0e13e959bae9ab221cd0a724a70c222772 (diff)
downloadvoidsky-7a08d61d889328ff5e3b8ba61faab71a5568df2f.tar.zst
Thread composer UI (#6050)
* Basic adding of posts

* Switch active post on focus

* Conditionally show plus button

* Insert posts midthread

* Track active/inactive post

* Delete posts in a thread

* Focus after deletion

* Tweak empty post detection

* Mix height for active only

* Move toolbar with post on web

* Fix footer positioning

* Post All button

* Fix reply to positioning

* Improve memoization

* Improve memoization for clearVideo

* Remove unnecessary argument

* Add some manual memoization to fix re-renders

* Scroll to bottom on add new

* Fix opacity on Android

* Add backdrop

* Fix videos

* Check alt for video too

* Clear pending publish on error

* Fork alt message by type

* Separate placeholder for next posts

* Limit hitslop to avoid clashes
Diffstat (limited to 'src/view/com/composer/ComposerReplyTo.tsx')
-rw-r--r--src/view/com/composer/ComposerReplyTo.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/com/composer/ComposerReplyTo.tsx b/src/view/com/composer/ComposerReplyTo.tsx
index 5bd5abbc8..cfd2b9065 100644
--- a/src/view/com/composer/ComposerReplyTo.tsx
+++ b/src/view/com/composer/ComposerReplyTo.tsx
@@ -204,6 +204,7 @@ const styles = StyleSheet.create({
     paddingTop: 4,
     paddingBottom: 16,
     marginBottom: 12,
+    marginHorizontal: 16,
   },
   replyToPost: {
     flex: 1,