about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-11-09 23:15:20 +0000
committerGitHub <noreply@github.com>2024-11-09 15:15:20 -0800
commit3aeee1e4aa9ae76d2c3638ab2fad54d7171effbf (patch)
tree44bb0a242a3c4fa41124e15addee23167c311884 /src
parent42abd97f61b6813ab7dc6126d167b4130532326a (diff)
downloadvoidsky-3aeee1e4aa9ae76d2c3638ab2fad54d7171effbf.tar.zst
Fix web image layout (#6195)
Diffstat (limited to 'src')
-rw-r--r--src/view/com/util/images/AutoSizedImage.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/images/AutoSizedImage.tsx b/src/view/com/util/images/AutoSizedImage.tsx
index c26df8335..b82bab879 100644
--- a/src/view/com/util/images/AutoSizedImage.tsx
+++ b/src/view/com/util/images/AutoSizedImage.tsx
@@ -105,7 +105,7 @@ export function AutoSizedImage({
   const hasAlt = !!image.alt
 
   const contents = (
-    <Animated.View ref={containerRef} collapsable={false}>
+    <Animated.View ref={containerRef} collapsable={false} style={{flex: 1}}>
       <Image
         style={[a.w_full, a.h_full]}
         source={image.thumb}