diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-09-20 20:47:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 14:47:28 -0500 |
commit | 79a2f8d5280230a125b42c60bbb5b9e4be4f9109 (patch) | |
tree | 5eb115f1ecbde98e3a541a497dc683e44f295169 /src/view/com/util/images/AutoSizedImage.tsx | |
parent | c85a271ef63ac006bf10f71adae102552298b661 (diff) | |
download | voidsky-79a2f8d5280230a125b42c60bbb5b9e4be4f9109.tar.zst |
Increase rounding for all embeds (#5421)
* tweak image styles * fix reply image preview and covert to atoms * increase rounding on media inset border * decrease gap on desktop * fix inset styles * increase rounding on embeds to `md` * Couple edge cases --------- Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/view/com/util/images/AutoSizedImage.tsx')
-rw-r--r-- | src/view/com/util/images/AutoSizedImage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/images/AutoSizedImage.tsx b/src/view/com/util/images/AutoSizedImage.tsx index 9abbe2875..a9bfc1c96 100644 --- a/src/view/com/util/images/AutoSizedImage.tsx +++ b/src/view/com/util/images/AutoSizedImage.tsx @@ -88,7 +88,7 @@ export function ConstrainedImage({ <View style={[ a.h_full, - a.rounded_sm, + a.rounded_md, a.overflow_hidden, t.atoms.bg_contrast_25, fullBleed ? a.w_full : {aspectRatio}, @@ -219,7 +219,7 @@ export function AutoSizedImage({ accessibilityHint={_(msg`Tap to view full image`)} style={[ a.w_full, - a.rounded_sm, + a.rounded_md, a.overflow_hidden, t.atoms.bg_contrast_25, {aspectRatio: max}, |