mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
fix(mobile): fix render overflow for small screens
Needed for SearchPage test to not throw overflow error
This commit is contained in:
parent
684d63c810
commit
649f983393
@ -24,7 +24,7 @@ class FilterBottomSheetScaffold extends StatelessWidget {
|
|||||||
if (expanded != null && expanded == true) {
|
if (expanded != null && expanded == true) {
|
||||||
return Expanded(child: child);
|
return Expanded(child: child);
|
||||||
}
|
}
|
||||||
return child;
|
return Flexible(child: child);
|
||||||
}
|
}
|
||||||
|
|
||||||
return SafeArea(
|
return SafeArea(
|
||||||
@ -44,20 +44,25 @@ class FilterBottomSheetScaffold extends StatelessWidget {
|
|||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.end,
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
children: [
|
children: [
|
||||||
OutlinedButton(
|
Flexible(
|
||||||
onPressed: () {
|
child: OutlinedButton(
|
||||||
onClear();
|
onPressed: () {
|
||||||
context.pop();
|
onClear();
|
||||||
},
|
context.pop();
|
||||||
child: const Text('action_common_clear').tr(),
|
},
|
||||||
|
child: const Text('action_common_clear').tr(),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
ElevatedButton(
|
Flexible(
|
||||||
onPressed: () {
|
child: ElevatedButton(
|
||||||
onSearch();
|
key: const Key('search_filter_apply'),
|
||||||
context.pop();
|
onPressed: () {
|
||||||
},
|
onSearch();
|
||||||
child: const Text('search_filter_apply').tr(),
|
context.pop();
|
||||||
|
},
|
||||||
|
child: const Text('search_filter_apply').tr(),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user