mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix: apply font-family to text components (#2821)
This commit is contained in:
@@ -34,6 +34,7 @@ md-button-toggle-group {
|
||||
|
||||
md-button-toggle {
|
||||
white-space: nowrap;
|
||||
font-family: $md-font-family;
|
||||
}
|
||||
|
||||
.md-button-toggle-label-content {
|
||||
|
||||
@@ -188,6 +188,7 @@ $_md-checkbox-mark-stroke-size: 2 / 15 * $md-checkbox-size !default;
|
||||
|
||||
md-checkbox {
|
||||
cursor: pointer;
|
||||
font-family: $md-font-family;
|
||||
|
||||
// Animation
|
||||
transition: background $swift-ease-out-duration $swift-ease-out-timing-function,
|
||||
|
||||
@@ -8,6 +8,7 @@ $md-radio-ripple-size: $md-radio-size * 0.75;
|
||||
// Top-level host container.
|
||||
md-radio-button {
|
||||
display: inline-block;
|
||||
font-family: $md-font-family;
|
||||
}
|
||||
|
||||
// Inner label container, wrapping entire element.
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@import '../core/style/variables';
|
||||
|
||||
md-simple-snackbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -7,7 +9,7 @@ md-simple-snackbar {
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
color: white;
|
||||
font-family: Roboto, 'Helvetica Neue', sans-serif;
|
||||
font-family: $md-font-family;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
outline: none;
|
||||
|
||||
Reference in New Issue
Block a user