combine size & square mixins into one

This commit is contained in:
Rakhat Jabagin 2015-08-26 16:17:00 +06:00
parent 7ff9b1979c
commit 865911c35d
1 changed files with 1 additions and 5 deletions

View File

@ -1,10 +1,6 @@
// Sizing shortcuts
@mixin size($width, $height) {
@mixin size($width, $height: $width) {
width: $width;
height: $height;
}
@mixin square($size) {
@include size($size, $size);
}