Skip to content

Commit

Permalink
fix: [MDS-1009] Fix Tag uppercase vertical misalignment (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kypsis committed Feb 26, 2024
1 parent 89721b0 commit b2e049a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/theme/tag/tag_sizes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class MoonTagSizes extends ThemeExtension<MoonTagSizes> with DiagnosticableTreeM
iconSizeValue: tokens.sizes.x2s,
padding: EdgeInsets.symmetric(horizontal: tokens.sizes.x4s),
textStyle: tokens.typography.body.text12,
upperCaseTextStyle: tokens.typography.caption.text10.copyWith(height: 1.6),
upperCaseTextStyle: tokens.typography.caption.text10.copyWith(height: 1.4),
),
sm = sm ??
MoonTagSizeProperties(
Expand All @@ -51,7 +51,7 @@ class MoonTagSizes extends ThemeExtension<MoonTagSizes> with DiagnosticableTreeM
iconSizeValue: tokens.sizes.x2s,
padding: EdgeInsets.symmetric(horizontal: tokens.sizes.x2s),
textStyle: tokens.typography.body.text12,
upperCaseTextStyle: tokens.typography.caption.text10.copyWith(height: 1.6),
upperCaseTextStyle: tokens.typography.caption.text10.copyWith(height: 1.4),
);

@override
Expand Down

0 comments on commit b2e049a

Please sign in to comment.