mirror of
https://github.com/inventree/inventree-app.git
synced 2026-07-04 11:50:45 +00:00
Adjust size
This commit is contained in:
@@ -477,6 +477,9 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage>
|
|||||||
leading = Spinner(icon: TablerIcons.loader_2, color: COLOR_PROGRESS);
|
leading = Spinner(icon: TablerIcons.loader_2, color: COLOR_PROGRESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
final size = MediaQuery.sizeOf(context);
|
||||||
|
final logoSize = min(size.width, size.height) * 0.75;
|
||||||
|
|
||||||
return Center(
|
return Center(
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
@@ -487,7 +490,8 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage>
|
|||||||
Colors.white.withValues(alpha: 0.05),
|
Colors.white.withValues(alpha: 0.05),
|
||||||
BlendMode.modulate,
|
BlendMode.modulate,
|
||||||
),
|
),
|
||||||
width: 200,
|
width: logoSize,
|
||||||
|
height: logoSize,
|
||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
ListTile(
|
ListTile(
|
||||||
|
|||||||
Reference in New Issue
Block a user