Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
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;
}
}