Fix: let images on desktop web take more vertical space (#953)
This commit is contained in:
parent
edff1992b1
commit
0163ba0af8
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue