Skip to content

Commit

Permalink
style(menu): reduce height of menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
maxjoehnk committed Aug 7, 2024
1 parent 9d83569 commit 6159ca9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/ui/lib/widgets/navigation_bar/navigation_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ class NavigationBarItem extends StatelessWidget {
return Hoverable(
onTap: onSelect,
builder: (hovering) => Container(
height: 64,
height: 56,
color: getBackgroundColor(hovering),
padding: const EdgeInsets.symmetric(vertical: 8),
child: Stack(
children: [
Center(
Expand All @@ -48,7 +47,7 @@ class NavigationBarItem extends StatelessWidget {
color: color,
size: 24,
),
Text(label,
Text(label, textAlign: TextAlign.center,
style: textTheme.subtitle2!.copyWith(color: color, fontSize: 10)),
],
crossAxisAlignment: CrossAxisAlignment.center,
Expand Down

0 comments on commit 6159ca9

Please sign in to comment.