diff --git a/packages/mobile/src/components/model-picker.tsx b/packages/mobile/src/components/model-picker.tsx index 1730752bdf67..1cb76197ab7e 100644 --- a/packages/mobile/src/components/model-picker.tsx +++ b/packages/mobile/src/components/model-picker.tsx @@ -97,8 +97,8 @@ export function ModelPicker({ visible, onClose, anchor = null }: Props) { const panel = useSharedValue(0) const shade = useSharedValue(0) - const popupWidth = Math.min(windowWidth - 24, 560) - const popupHeight = Math.min(windowHeight - insets.top - insets.bottom - 24, 700) + const popupWidth = Math.round(Math.min(windowWidth - 24, 560) * 0.75) + const popupHeight = Math.round(Math.min(windowHeight - insets.top - insets.bottom - 24, 700) * 0.75) const centerX = windowWidth / 2 const centerY = windowHeight / 2 @@ -453,14 +453,24 @@ export function ModelPicker({ visible, onClose, anchor = null }: Props) { ]} > {isLiquidGlassSupported ? ( - {content} + + {content} + ) : ( - {content} + {content} )} @@ -611,6 +621,9 @@ const styles = StyleSheet.create({ overflow: "hidden", borderWidth: StyleSheet.hairlineWidth, }, + fill: { + flex: 1, + }, header: { flexDirection: "row", alignItems: "center",