Fix bottom sheet content width on Android tablets (native-owned canvas sizing) (#11396)
This commit is contained in:
@@ -395,11 +395,13 @@ export function CustomFeedHeader({
|
||||
) : null}
|
||||
</Layout.Header.Outer>
|
||||
</Layout.Center>
|
||||
<Dialog.Outer control={infoControl}>
|
||||
<Dialog.Outer
|
||||
control={infoControl}
|
||||
nativeOptions={{preventExpansion: true}}>
|
||||
<Dialog.Handle />
|
||||
<Dialog.ScrollableInner
|
||||
label={l`Feed menu`}
|
||||
style={[gtMobile ? {width: 'auto', minWidth: 450} : a.w_full]}>
|
||||
style={[a.w_full, gtMobile && web({width: 'auto', minWidth: 450})]}>
|
||||
<DialogInner
|
||||
info={info}
|
||||
likeUri={likeUri}
|
||||
|
||||
@@ -329,6 +329,7 @@ export function StepProfile() {
|
||||
{
|
||||
width: 'auto',
|
||||
maxWidth: 410,
|
||||
marginHorizontal: 'auto',
|
||||
},
|
||||
]}>
|
||||
<View style={[a.align_center, {paddingTop: 20}]}>
|
||||
|
||||
Reference in New Issue
Block a user