Skip to content

Commit 2b14952

Browse files
crisbetoandrewseguin
authored andcommitted
fix(badge): increase font size of small badge (#15280)
Bumps the font size of the small badge, because the current one is too small. Fixes #15251.
1 parent fce7205 commit 2b14952

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/badge/_badge-theme.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ $mat-badge-large-size: $mat-badge-default-size + 6;
194194
}
195195

196196
.mat-badge-small .mat-badge-content {
197-
font-size: $mat-badge-font-size / 2;
197+
// Set the font size to 75% of the original.
198+
font-size: $mat-badge-font-size * 0.75;
198199
}
199200

200201
.mat-badge-large .mat-badge-content {

0 commit comments

Comments
 (0)