Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commite1889c840e060b51e4b551a3e30f142ce4b9ec2b (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-16 17:30:48 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-08-16 17:30:48 +0800
Files27f60217651d989c0bc1f420b89c0161e158ba23 /src
Spectre-Dark-Gruvbox-e1889c840e060b51e4b551a3e30f142ce4b9ec2b.tar
Spectre-Dark-Gruvbox-e1889c840e060b51e4b551a3e30f142ce4b9ec2b.tar.gz
Spectre-Dark-Gruvbox-e1889c840e060b51e4b551a3e30f142ce4b9ec2b.zip
Parentf9e4d647139e566d55c435dba869d16ebbbb3554 (diff)
Fix margin utilities #250
1 files changed, 9 insertions, 9 deletions
-rw-r--r--src/mixins.less18
diff --git a/src/mixins.less b/src/mixins.less
index 52cd743..62f0371 100644
--- a/src/mixins.less
+++ b/src/mixins.less
@@ -53,27 +53,27 @@
// Position utility mixin
.margin-variant(@size: 1) {
.m-@{size} {
- padding: @size * @unit-1;
+ margin: @size * @unit-1;
}
.mb-@{size} {
- padding-bottom: @size * @unit-1;
+ margin-bottom: @size * @unit-1;
}
.ml-@{size} {
- padding-left: @size * @unit-1;
+ margin-left: @size * @unit-1;
}
.mr-@{size} {
- padding-right: @size * @unit-1;
+ margin-right: @size * @unit-1;
}
.mt-@{size} {
- padding-top: @size * @unit-1;
+ margin-top: @size * @unit-1;
}
.mx-@{size} {
- padding-left: @size * @unit-1;
- padding-right: @size * @unit-1;
+ margin-left: @size * @unit-1;
+ margin-right: @size * @unit-1;
}
.my-@{size} {
- padding-bottom: @size * @unit-1;
- padding-top: @size * @unit-1;
+ margin-bottom: @size * @unit-1;
+ margin-top: @size * @unit-1;
}
}