Skip to content

Commit

Permalink
feat(material/checkbox): use -size for legacy checkbox (#25424)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin committed Aug 9, 2022
1 parent e8e7199 commit dc74aa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/material/legacy-checkbox/checkbox.scss
Expand Up @@ -19,7 +19,7 @@ $_ripple-radius: 20px;
$_item-spacing: variables.$toggle-padding;

// The width of the line used to draw the checkmark / mixedmark.
$_mark-stroke-size: math.div(2, 15) * checkbox-common.$size !default;
$_mark-stroke-size: math.div(2, 15) * checkbox-common.$legacy-size !default;


// Fades in the background of the checkbox when it goes from unchecked -> {checked,indeterminate}.
Expand Down Expand Up @@ -232,15 +232,15 @@ $_mark-stroke-size: math.div(2, 15) * checkbox-common.$size !default;

.mat-checkbox-inner-container {
display: inline-block;
height: checkbox-common.$size;
height: checkbox-common.$legacy-size;
line-height: 0;
margin: auto;
margin-right: $_item-spacing;
order: 0;
position: relative;
vertical-align: middle;
white-space: nowrap;
width: checkbox-common.$size;
width: checkbox-common.$legacy-size;
flex-shrink: 0;

[dir='rtl'] & {
Expand Down

0 comments on commit dc74aa3

Please sign in to comment.