재고 상세 다이얼로그화 및 마스터 레이아웃 개선
This commit is contained in:
@@ -203,9 +203,11 @@ class _DashboardPageState extends State<DashboardPage> {
|
||||
return Flex(
|
||||
direction: showSidePanel ? Axis.horizontal : Axis.vertical,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisSize: showSidePanel ? MainAxisSize.max : MainAxisSize.min,
|
||||
children: [
|
||||
Expanded(
|
||||
Flexible(
|
||||
flex: 3,
|
||||
fit: showSidePanel ? FlexFit.tight : FlexFit.loose,
|
||||
child: _RecentTransactionsCard(
|
||||
transactions: summary.recentTransactions,
|
||||
),
|
||||
@@ -216,6 +218,7 @@ class _DashboardPageState extends State<DashboardPage> {
|
||||
const SizedBox(height: 16),
|
||||
Flexible(
|
||||
flex: 2,
|
||||
fit: showSidePanel ? FlexFit.tight : FlexFit.loose,
|
||||
child: _PendingApprovalCard(
|
||||
approvals: summary.pendingApprovals,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user