diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-05-24 11:24:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-24 11:24:20 -0700 |
commit | afab4d512928ffd538bdc40d91aed7c592cd8a70 (patch) | |
tree | 6316d8f5b9d917bd97942bb9da2a2eb18c79f8fa /src | |
parent | 2897b79befad6bc633bf54b9ef849273879e716a (diff) | |
download | voidsky-afab4d512928ffd538bdc40d91aed7c592cd8a70.tar.zst |
Move ALT indicator right and shrink it a bit (#4213)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/images/Gallery.tsx | 4 | ||||
-rw-r--r-- | src/view/com/util/post-embeds/index.tsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/view/com/util/images/Gallery.tsx b/src/view/com/util/images/Gallery.tsx index f6d2c7a1b..f0b7ac15e 100644 --- a/src/view/com/util/images/Gallery.tsx +++ b/src/view/com/util/images/Gallery.tsx @@ -74,12 +74,12 @@ const styles = StyleSheet.create({ position: 'absolute', // Related to margin/gap hack. This keeps the alt label in the same position // on all platforms - left: isWeb ? 8 : 5, + right: isWeb ? 8 : 5, bottom: isWeb ? 8 : 5, }, alt: { color: 'white', - fontSize: 10, + fontSize: 6, fontWeight: 'bold', }, }) diff --git a/src/view/com/util/post-embeds/index.tsx b/src/view/com/util/post-embeds/index.tsx index eb9732ee8..8aa9919ca 100644 --- a/src/view/com/util/post-embeds/index.tsx +++ b/src/view/com/util/post-embeds/index.tsx @@ -178,12 +178,12 @@ const styles = StyleSheet.create({ paddingHorizontal: 6, paddingVertical: 3, position: 'absolute', - left: 6, + right: 6, bottom: 6, }, alt: { color: 'white', - fontSize: 10, + fontSize: 6, fontWeight: 'bold', }, customFeedOuter: { |