Fix: let images on desktop web take more vertical space (#953)
parent
edff1992b1
commit
0163ba0af8
|
@ -28,6 +28,7 @@ import QuoteEmbed from './QuoteEmbed'
|
||||||
import {AutoSizedImage} from '../images/AutoSizedImage'
|
import {AutoSizedImage} from '../images/AutoSizedImage'
|
||||||
import {CustomFeedEmbed} from './CustomFeedEmbed'
|
import {CustomFeedEmbed} from './CustomFeedEmbed'
|
||||||
import {ListEmbed} from './ListEmbed'
|
import {ListEmbed} from './ListEmbed'
|
||||||
|
import {isDesktopWeb} from 'platform/detection'
|
||||||
|
|
||||||
type Embed =
|
type Embed =
|
||||||
| AppBskyEmbedRecord.View
|
| AppBskyEmbedRecord.View
|
||||||
|
@ -198,7 +199,7 @@ const styles = StyleSheet.create({
|
||||||
},
|
},
|
||||||
singleImage: {
|
singleImage: {
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
maxHeight: 500,
|
maxHeight: isDesktopWeb ? 1000 : 500,
|
||||||
},
|
},
|
||||||
extOuter: {
|
extOuter: {
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
|
|
Loading…
Reference in New Issue