2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00

Merge pull request #102 from inventree/center-text

Fix alignment of text on home screen icons
This commit is contained in:
Oliver 2022-04-22 01:03:50 +10:00 committed by GitHub
commit dadabf14ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,8 +182,8 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
return GestureDetector(
child: Card(
margin: EdgeInsets.symmetric(
vertical: 10,
horizontal: 10
vertical: 12,
horizontal: 12
),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
@ -193,12 +193,13 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
color: connected && allowed ? COLOR_CLICK : Colors.grey,
),
Divider(
height: 12,
height: 15,
thickness: 0,
color: Colors.transparent,
),
Text(
label,
textAlign: TextAlign.center,
),
]
)