mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 20:09:24 +00:00
Add width constraints to desktop dashboard
This commit is contained in:
parent
02fe3c008f
commit
843db65603
1 changed files with 15 additions and 10 deletions
|
@ -109,12 +109,15 @@ class DesktopDashboardPage extends BasePage {
|
|||
return Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Expanded(
|
||||
flex: 3,
|
||||
Container(
|
||||
width: 400,
|
||||
child: balancePage,
|
||||
),
|
||||
Expanded(
|
||||
flex: 5,
|
||||
flex: 4,
|
||||
child: Center(
|
||||
child: ConstrainedBox(
|
||||
constraints: BoxConstraints(maxWidth: 500),
|
||||
child: Navigator(
|
||||
key: desktopKey,
|
||||
initialRoute: Routes.desktop_actions,
|
||||
|
@ -124,6 +127,8 @@ class DesktopDashboardPage extends BasePage {
|
|||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue