Skip to content

Commit

Permalink
fix custom toggle icon alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Sep 26, 2022
1 parent 610465a commit b304711
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/material/datepicker/_datepicker-legacy-compat.scss
Expand Up @@ -39,6 +39,12 @@
padding: 8px 0;
}
}

.mat-datepicker-toggle .mat-mdc-icon-button .mat-icon {
font-size: 1em;
display: inline-block;
margin: -2px 0 1px 0;
}
}

.mat-form-field-type-mat-date-range-input .mat-form-field-infix {
Expand All @@ -59,6 +65,11 @@
.mat-datepicker-toggle-default-icon {
width: 1em;
}

.mat-datepicker-toggle .mat-mdc-icon-button .mat-icon {
line-height: 1.5em;
margin: 0;
}
}
}

Expand Down

0 comments on commit b304711

Please sign in to comment.