diff options
author | Eric Bailey <git@esb.lol> | 2024-09-20 11:38:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 11:38:51 -0500 |
commit | 0eed1cfec1b0caac35930529dfd9ac92bf38606f (patch) | |
tree | c356b389bb5db2c5e531ec860b5a288bada4cbe6 /src/view/com/composer | |
parent | 27cceb96f33c86a06507a9ad3e631171474100b4 (diff) | |
download | voidsky-0eed1cfec1b0caac35930529dfd9ac92bf38606f.tar.zst |
[Neue] Buttons (#5406)
* Re-align button sizing (cherry picked from commit bcec243bb59dfe468313d98ba61f464d9750feec) * Use large, small, tiny (cherry picked from commit 1dc333c2993ab7f2e0ac750c0670dcec9a7069d0) * Tweaks
Diffstat (limited to 'src/view/com/composer')
-rw-r--r-- | src/view/com/composer/GifAltText.tsx | 2 | ||||
-rw-r--r-- | src/view/com/composer/threadgate/ThreadgateBtn.tsx | 2 | ||||
-rw-r--r-- | src/view/com/composer/videos/SubtitleDialog.tsx | 4 | ||||
-rw-r--r-- | src/view/com/composer/videos/SubtitleFilePicker.tsx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/view/com/composer/GifAltText.tsx b/src/view/com/composer/GifAltText.tsx index b7690e102..a37452604 100644 --- a/src/view/com/composer/GifAltText.tsx +++ b/src/view/com/composer/GifAltText.tsx @@ -160,7 +160,7 @@ function AltTextInner({ </View> <Button label={_(msg`Save`)} - size="medium" + size="large" color="primary" variant="solid" onPress={onPressSubmit}> diff --git a/src/view/com/composer/threadgate/ThreadgateBtn.tsx b/src/view/com/composer/threadgate/ThreadgateBtn.tsx index 666473afd..c4ce9a232 100644 --- a/src/view/com/composer/threadgate/ThreadgateBtn.tsx +++ b/src/view/com/composer/threadgate/ThreadgateBtn.tsx @@ -60,7 +60,7 @@ export function ThreadgateBtn({ <Button variant="solid" color="secondary" - size="xsmall" + size="small" testID="openReplyGateButton" onPress={onPress} label={label} diff --git a/src/view/com/composer/videos/SubtitleDialog.tsx b/src/view/com/composer/videos/SubtitleDialog.tsx index 10c2d7564..c07fdfc56 100644 --- a/src/view/com/composer/videos/SubtitleDialog.tsx +++ b/src/view/com/composer/videos/SubtitleDialog.tsx @@ -44,7 +44,7 @@ export function SubtitleDialogBtn(props: Props) { ? _('Opens captions and alt text dialog') : _('Opens alt text dialog') } - size="xsmall" + size="small" color="secondary" variant="ghost" onPress={() => { @@ -169,7 +169,7 @@ function SubtitleDialogInner({ <View style={web([a.flex_row, a.justify_end])}> <Button label={_(msg`Done`)} - size={isWeb ? 'small' : 'medium'} + size={isWeb ? 'small' : 'large'} color="primary" variant="solid" onPress={() => { diff --git a/src/view/com/composer/videos/SubtitleFilePicker.tsx b/src/view/com/composer/videos/SubtitleFilePicker.tsx index 856a0eb4f..44a6b53b6 100644 --- a/src/view/com/composer/videos/SubtitleFilePicker.tsx +++ b/src/view/com/composer/videos/SubtitleFilePicker.tsx @@ -57,7 +57,7 @@ export function SubtitleFilePicker({ <Button onPress={handleClick} label={_('Select subtitle file (.vtt)')} - size="medium" + size="large" color="primary" variant="solid" disabled={disabled}> |