mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 13:36:50 +00:00
Fix alignment of text on home screen icons
This commit is contained in:
parent
88d8022082
commit
cbd6cade49
@ -182,8 +182,8 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
|
|||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
child: Card(
|
child: Card(
|
||||||
margin: EdgeInsets.symmetric(
|
margin: EdgeInsets.symmetric(
|
||||||
vertical: 10,
|
vertical: 12,
|
||||||
horizontal: 10
|
horizontal: 12
|
||||||
),
|
),
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
@ -193,12 +193,13 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
|
|||||||
color: connected && allowed ? COLOR_CLICK : Colors.grey,
|
color: connected && allowed ? COLOR_CLICK : Colors.grey,
|
||||||
),
|
),
|
||||||
Divider(
|
Divider(
|
||||||
height: 12,
|
height: 15,
|
||||||
thickness: 0,
|
thickness: 0,
|
||||||
color: Colors.transparent,
|
color: Colors.transparent,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
label,
|
label,
|
||||||
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user