diff options
author | Hailey <me@haileyok.com> | 2024-07-10 12:25:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-10 20:25:44 +0100 |
commit | 65b5d31b581ad9f6c46a76175643437cd113903b (patch) | |
tree | 451352673daaf7c4a2850aee6c08f2aebf60bc2e /src/view/com/composer/GifAltText.tsx | |
parent | fa64d9393b9ab2cb420c900b2b843f48cf647807 (diff) | |
download | voidsky-65b5d31b581ad9f6c46a76175643437cd113903b.tar.zst |
Fix alt text for GIFs (#4766)
* fix alt text dialog for gifs * only apply to native
Diffstat (limited to 'src/view/com/composer/GifAltText.tsx')
-rw-r--r-- | src/view/com/composer/GifAltText.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/view/com/composer/GifAltText.tsx b/src/view/com/composer/GifAltText.tsx index b1f10bf2f..b7690e102 100644 --- a/src/view/com/composer/GifAltText.tsx +++ b/src/view/com/composer/GifAltText.tsx @@ -174,8 +174,13 @@ function AltTextInner({ <Text style={[a.text_2xl, a.font_bold, a.leading_tight, a.pb_sm]}> <Trans>Add alt text</Trans> </Text> - <View style={[a.w_full, a.align_center, native({maxHeight: 200})]}> - <GifEmbed link={link} params={params} hideAlt /> + <View style={[a.align_center]}> + <GifEmbed + link={link} + params={params} + hideAlt + style={[native({maxHeight: 225})]} + /> </View> </View> </View> |