From 0163ba0af8cd42e2a76b3ae66efc0777afdc2544 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Mon, 3 Jul 2023 15:57:39 -0500
Subject: Fix: let images on desktop web take more vertical space (#953)

---
 src/view/com/util/post-embeds/index.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/view/com/util/post-embeds/index.tsx')

diff --git a/src/view/com/util/post-embeds/index.tsx b/src/view/com/util/post-embeds/index.tsx
index 7f2244b7b..edcef7039 100644
--- a/src/view/com/util/post-embeds/index.tsx
+++ b/src/view/com/util/post-embeds/index.tsx
@@ -28,6 +28,7 @@ import QuoteEmbed from './QuoteEmbed'
 import {AutoSizedImage} from '../images/AutoSizedImage'
 import {CustomFeedEmbed} from './CustomFeedEmbed'
 import {ListEmbed} from './ListEmbed'
+import {isDesktopWeb} from 'platform/detection'
 
 type Embed =
   | AppBskyEmbedRecord.View
@@ -198,7 +199,7 @@ const styles = StyleSheet.create({
   },
   singleImage: {
     borderRadius: 8,
-    maxHeight: 500,
+    maxHeight: isDesktopWeb ? 1000 : 500,
   },
   extOuter: {
     borderWidth: 1,
-- 
cgit 1.4.1

