diff --git a/apps/mobile/packages/core/lib/src/presentation/widgets/web_mobile_frame.dart b/apps/mobile/packages/core/lib/src/presentation/widgets/web_mobile_frame.dart index 6a98c784..0c5b1d00 100644 --- a/apps/mobile/packages/core/lib/src/presentation/widgets/web_mobile_frame.dart +++ b/apps/mobile/packages/core/lib/src/presentation/widgets/web_mobile_frame.dart @@ -109,8 +109,8 @@ class _WebFrameContentState extends State<_WebFrameContent> { child: LayoutBuilder( builder: (BuildContext context, BoxConstraints constraints) { // Scale down if screen is too small - final double scaleX = constraints.maxWidth / (frameWidth + 80); - final double scaleY = constraints.maxHeight / (frameHeight + 80); + final double scaleX = constraints.maxWidth / (frameWidth - 150); + final double scaleY = constraints.maxHeight / (frameHeight - 220); final double scale = (scaleX < 1 || scaleY < 1) ? (scaleX < scaleY ? scaleX : scaleY) : 1.0;