mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
style(sass): remove all PropertySortOrder errors from linter
references #5797
This commit is contained in:
@ -32,9 +32,11 @@ $segment-button-ios-toolbar-icon-line-height: 2.4rem !default;
|
||||
|
||||
.segment-button {
|
||||
flex: 1;
|
||||
|
||||
width: 0;
|
||||
|
||||
height: $segment-button-ios-height;
|
||||
|
||||
border-width: $segment-button-ios-border-width;
|
||||
border-style: solid;
|
||||
border-color: $segment-button-ios-background-color-activated;
|
||||
@ -69,6 +71,7 @@ $segment-button-ios-toolbar-icon-line-height: 2.4rem !default;
|
||||
|
||||
&:first-of-type {
|
||||
margin-right: 0;
|
||||
|
||||
border-radius: $segment-button-ios-border-radius 0 0 $segment-button-ios-border-radius;
|
||||
}
|
||||
|
||||
@ -78,6 +81,7 @@ $segment-button-ios-toolbar-icon-line-height: 2.4rem !default;
|
||||
|
||||
&:last-of-type {
|
||||
margin-left: 0;
|
||||
|
||||
border-left-width: 0;
|
||||
border-radius: 0 $segment-button-ios-border-radius $segment-button-ios-border-radius 0;
|
||||
}
|
||||
@ -96,6 +100,7 @@ $segment-button-ios-toolbar-icon-line-height: 2.4rem !default;
|
||||
.segment-button {
|
||||
max-width: $segment-button-ios-toolbar-button-max-width;
|
||||
height: $segment-button-ios-toolbar-button-height;
|
||||
|
||||
font-size: $segment-button-ios-toolbar-font-size;
|
||||
line-height: $segment-button-ios-toolbar-line-height;
|
||||
|
||||
|
@ -20,7 +20,9 @@ $segment-button-md-icon-line-height: $segment-button-md-line-height !d
|
||||
|
||||
.segment-button {
|
||||
flex: 1;
|
||||
|
||||
padding: $segment-button-md-padding;
|
||||
|
||||
width: 0;
|
||||
height: $segment-button-md-height;
|
||||
|
||||
|
@ -6,9 +6,11 @@
|
||||
|
||||
ion-segment {
|
||||
display: flex;
|
||||
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,7 @@ ion-segment {
|
||||
padding: $segment-button-wp-padding;
|
||||
|
||||
height: $segment-button-wp-height;
|
||||
|
||||
font-size: $segment-button-wp-font-size;
|
||||
font-weight: $segment-button-wp-font-weight;
|
||||
line-height: $segment-button-wp-line-height;
|
||||
|
Reference in New Issue
Block a user