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) {
|
||||
return Expanded(child: child);
|
||||
}
|
||||
return child;
|
||||
return Flexible(child: child);
|
||||
}
|
||||
|
||||
return SafeArea(
|
||||
@ -44,21 +44,26 @@ class FilterBottomSheetScaffold extends StatelessWidget {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
OutlinedButton(
|
||||
Flexible(
|
||||
child: OutlinedButton(
|
||||
onPressed: () {
|
||||
onClear();
|
||||
context.pop();
|
||||
},
|
||||
child: const Text('action_common_clear').tr(),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
ElevatedButton(
|
||||
Flexible(
|
||||
child: ElevatedButton(
|
||||
key: const Key('search_filter_apply'),
|
||||
onPressed: () {
|
||||
onSearch();
|
||||
context.pop();
|
||||
},
|
||||
child: const Text('search_filter_apply').tr(),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user