From 0163ba0af8cd42e2a76b3ae66efc0777afdc2544 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 3 Jul 2023 15:57:39 -0500 Subject: [PATCH] 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(-) diff --git a/src/view/com/util/post-embeds/index.tsx b/src/view/com/util/post-embeds/index.tsx index 7f2244b7..edcef703 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,