Skip to content

Commit

Permalink
Bigger gap and font weight 500
Browse files Browse the repository at this point in the history
  • Loading branch information
Jupi007 committed Oct 6, 2022
1 parent 3446901 commit 1317824
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/src/pages/layouts/yaru_navigation_rail.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class _YaruNavigationRailItem extends StatelessWidget {
return const SizedBox(width: 10);
}

return const SizedBox(height: 2);
return const SizedBox(height: 5);
}

Widget _buildLabel(BuildContext context) {
Expand All @@ -131,7 +131,10 @@ class _YaruNavigationRailItem extends StatelessWidget {
if (label is YaruPageItemTitle) {
label = DefaultTextStyle.merge(
child: label,
style: const TextStyle(fontSize: 13),
style: const TextStyle(
fontSize: 13,
fontWeight: FontWeight.w500,
),
overflow: TextOverflow.ellipsis,
softWrap: true,
textAlign: extended ? TextAlign.left : TextAlign.center,
Expand Down

0 comments on commit 1317824

Please sign in to comment.