mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
refactor(all): cleanup mode font
This commit is contained in:
@ -6,8 +6,6 @@
|
||||
|
||||
:host {
|
||||
@include margin($label-ios-margin-top, $label-ios-margin-end, $label-ios-margin-bottom, $label-ios-margin-start);
|
||||
|
||||
font-family: $label-ios-font-family;
|
||||
}
|
||||
|
||||
:host([text-wrap]) {
|
||||
|
||||
@ -4,9 +4,6 @@
|
||||
// iOS Label
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Font family of the label
|
||||
$label-ios-font-family: $font-family-base !default;
|
||||
|
||||
/// @prop - Text color of the label by an input, select, or datetime
|
||||
$label-ios-text-color: null !default;
|
||||
|
||||
|
||||
@ -6,8 +6,6 @@
|
||||
|
||||
:host {
|
||||
@include margin($label-md-margin-top, $label-md-margin-end, $label-md-margin-bottom, $label-md-margin-start);
|
||||
|
||||
font-family: $label-md-font-family;
|
||||
}
|
||||
|
||||
:host([text-wrap]) {
|
||||
|
||||
@ -4,9 +4,6 @@
|
||||
// Material Design Label
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Font family of the label
|
||||
$label-md-font-family: $font-family-base !default;
|
||||
|
||||
/// @prop - Text color of the label by an input, select, or datetime
|
||||
$label-md-text-color: $text-color-step-600 !default;
|
||||
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
|
||||
flex: 1;
|
||||
|
||||
font-family: $font-family-base;
|
||||
font-size: inherit;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
|
||||
Reference in New Issue
Block a user