mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
style(css): fix sass linter errors and add descriptions to css files
This commit is contained in:
@ -1,9 +1,18 @@
|
||||
@import "../themes/ionic.globals";
|
||||
@import "../themes/ionic.mixins";
|
||||
|
||||
|
||||
// Element Space
|
||||
// --------------------------------------------------
|
||||
// Creates padding and margin attributes to be used on
|
||||
// any element
|
||||
|
||||
$padding: var(--ion-padding, 16px);
|
||||
$margin: var(--ion-margin, 16px);
|
||||
|
||||
// Padding
|
||||
// --------------------------------------------------
|
||||
|
||||
[no-padding] {
|
||||
@include padding(0);
|
||||
|
||||
@ -61,10 +70,10 @@ $margin: var(--ion-margin, 16px);
|
||||
}
|
||||
|
||||
|
||||
// Content Margin
|
||||
// Margin
|
||||
// --------------------------------------------------
|
||||
|
||||
ion-app [no-margin] {
|
||||
[no-margin] {
|
||||
@include margin(0);
|
||||
}
|
||||
|
||||
@ -105,4 +114,3 @@ ion-app [no-margin] {
|
||||
[margin-horizontal] {
|
||||
@include margin-horizontal($margin);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user