Fix: let images on desktop web take more vertical space (#953)

zio/stable
Paul Frazee 2023-07-03 15:57:39 -05:00 committed by GitHub
parent edff1992b1
commit 0163ba0af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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,