fix: try at fixing incorrect scan box size on smaller screens

This commit is contained in:
alzalia1 2025-08-19 22:57:44 +02:00
parent 8a464cc665
commit 587cc0689a
5 changed files with 24 additions and 14 deletions

View file

@ -123,6 +123,12 @@ class _AddPageState extends State<AddPage> {
}
},
),
Center(
child: SvgPicture.asset(
'assets/scan-overlay.svg',
height: (MediaQuery.sizeOf(context).height / 5) * 2,
),
),
SafeArea(
child: SingleChildScrollView(
child: Column(
@ -175,7 +181,6 @@ class _AddPageState extends State<AddPage> {
),
),
),
Center(child: SvgPicture.asset('assets/scan-overlay.svg')),
SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.end,