]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
combine size & square mixins into one 17333/head
authorRakhat Jabagin <neilhem@hotmail.com>
Wed, 26 Aug 2015 10:17:00 +0000 (16:17 +0600)
committerRakhat Jabagin <neilhem@hotmail.com>
Wed, 26 Aug 2015 10:17:00 +0000 (16:17 +0600)
scss/mixins/_size.scss

index abbe2463ce8d7c315f8a2368f9301603315a35db..b9dd48e8dfdacc6104c2cf360ea30bb65970a32b 100644 (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);
-}