about summary refs log tree commit diff
path: root/src/components/PostControls/RepostButton.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-08-12 02:04:45 +0300
committerGitHub <noreply@github.com>2025-08-11 18:04:45 -0500
commitef171e289234c7439011b68a61e951ab88319d0b (patch)
treed08f56f3edc18156fbf1c9c2c8dd20ce944f258d /src/components/PostControls/RepostButton.tsx
parent17c5cec3566c591dd3aa1a939d449d8206f91c28 (diff)
downloadvoidsky-ef171e289234c7439011b68a61e951ab88319d0b.tar.zst
Tweak small buttons (#8818)
* set size=small buttons to `text_sm`

* change to `leading_snug`

* add gap to repost buttons

* Add medium-weight font, use for buttons (#8819)

* add medium weight inter

* add medium font to buttons

* Adjust bold weights

* Fix ref

---------

Co-authored-by: Eric Bailey <git@esb.lol>

* Align with designs

---------

Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/components/PostControls/RepostButton.tsx')
-rw-r--r--src/components/PostControls/RepostButton.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/PostControls/RepostButton.tsx b/src/components/PostControls/RepostButton.tsx
index 31438c6bd..e09950b49 100644
--- a/src/components/PostControls/RepostButton.tsx
+++ b/src/components/PostControls/RepostButton.tsx
@@ -145,7 +145,7 @@ let RepostButtonDialogInner = ({
       <View style={a.gap_xl}>
         <View style={a.gap_xs}>
           <Button
-            style={[a.justify_start, a.px_md]}
+            style={[a.justify_start, a.px_md, a.gap_sm]}
             label={
               isReposted
                 ? _(msg`Remove repost`)
@@ -167,7 +167,7 @@ let RepostButtonDialogInner = ({
           <Button
             disabled={embeddingDisabled}
             testID="quoteBtn"
-            style={[a.justify_start, a.px_md]}
+            style={[a.justify_start, a.px_md, a.gap_sm]}
             label={
               embeddingDisabled
                 ? _(msg`Quote posts disabled`)