diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-07-03 15:57:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 15:57:39 -0500 |
commit | 0163ba0af8cd42e2a76b3ae66efc0777afdc2544 (patch) | |
tree | dd97cbb553ed4b615ccc7d3c3250a72d3ee7bea1 /src | |
parent | edff1992b18a62f4ada09ba4f20cd2c29cd4e634 (diff) | |
download | voidsky-0163ba0af8cd42e2a76b3ae66efc0777afdc2544.tar.zst |
Fix: let images on desktop web take more vertical space (#953)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/post-embeds/index.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
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, |