Skip to content

Commit

Permalink
Version 2.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Brzek committed Dec 4, 2013
1 parent 373ade1 commit 32cf57f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build/lesshat-prefixed.less
Original file line number Diff line number Diff line change
Expand Up @@ -2229,7 +2229,7 @@

}

.lh-size(@square:auto) {
.lh-size(@square) {
@unit: 'px';
.process(@square) when (ispixel(@square)), (isem(@square)), (ispercentage(@square)), (iskeyword(@square)) {
width: @square;
Expand All @@ -2245,7 +2245,7 @@

}

.lh-size(@width:auto, @height:auto) {
.lh-size(@width, @height) {
@unit: 'px';
.process(@width, @height) when (ispixel(@width)) and (ispixel(@height)), (isem(@width)) and (isem(@height)), (ispercentage(@width)) and (ispercentage(@height)), (iskeyword(@width)) and (iskeyword(@height)) {
width: @width;
Expand Down
4 changes: 2 additions & 2 deletions build/lesshat.less
Original file line number Diff line number Diff line change
Expand Up @@ -2229,7 +2229,7 @@

}

.size(@square:auto) {
.size(@square) {
@unit: 'px';
.process(@square) when (ispixel(@square)), (isem(@square)), (ispercentage(@square)), (iskeyword(@square)) {
width: @square;
Expand All @@ -2245,7 +2245,7 @@

}

.size(@width:auto, @height:auto) {
.size(@width, @height) {
@unit: 'px';
.process(@width, @height) when (ispixel(@width)) and (ispixel(@height)), (isem(@width)) and (isem(@height)), (ispercentage(@width)) and (ispercentage(@height)), (iskeyword(@width)) and (iskeyword(@height)) {
width: @width;
Expand Down
4 changes: 2 additions & 2 deletions mixins/size/size.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.size(@square:auto) {
.size(@square) {
@unit: 'px';
.process(@square) when (ispixel(@square)), (isem(@square)), (ispercentage(@square)), (iskeyword(@square)) {
width: @square;
Expand All @@ -14,7 +14,7 @@

}

.size(@width:auto, @height:auto) {
.size(@width, @height) {
@unit: 'px';
.process(@width, @height) when (ispixel(@width)) and (ispixel(@height)), (isem(@width)) and (isem(@height)), (ispercentage(@width)) and (ispercentage(@height)), (iskeyword(@width)) and (iskeyword(@height)) {
width: @width;
Expand Down

0 comments on commit 32cf57f

Please sign in to comment.