smaller search box
This commit is contained in:
parent
3fd0982af5
commit
9ac1a955ba
@ -126,7 +126,7 @@ class _HomePageState extends State<HomePage> {
|
|||||||
if (!FFI.ffiModel.initialized) {
|
if (!FFI.ffiModel.initialized) {
|
||||||
return Container();
|
return Container();
|
||||||
}
|
}
|
||||||
return Padding(
|
var w = Padding(
|
||||||
padding: const EdgeInsets.fromLTRB(16.0, 8.0, 16.0, 0.0),
|
padding: const EdgeInsets.fromLTRB(16.0, 8.0, 16.0, 0.0),
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 84,
|
height: 84,
|
||||||
@ -195,6 +195,9 @@ class _HomePageState extends State<HomePage> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
if (!isWeb) return w;
|
||||||
|
return Center(
|
||||||
|
child: Container(constraints: BoxConstraints(maxWidth: 600), child: w));
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user