Skip to content

Commit

Permalink
input: left and right paddings should be equal in case without 'has-c…
Browse files Browse the repository at this point in the history
…lear' mod
  • Loading branch information
sipayRT committed Aug 5, 2015
1 parent abe9134 commit 8057c64
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions design/common.blocks/input/_theme/input_theme_islands.styl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ ctx = '.input_theme_islands'
.input__control
{
height: 24px;
padding-left: 6px;
padding: 0 6px;
}

&.input_has-clear .input__box
Expand All @@ -181,7 +181,7 @@ ctx = '.input_theme_islands'
.input__control
{
height: 28px;
padding-left: 8px;
padding: 0 8px;
}

&.input_has-clear .input__box
Expand Down Expand Up @@ -216,7 +216,7 @@ ctx = '.input_theme_islands'
.input__control
{
height: 32px;
padding-left: 10px;
padding: 0 10px;
}

&.input_has-clear .input__box
Expand All @@ -233,7 +233,7 @@ ctx = '.input_theme_islands'
.input__control
{
height: 38px;
padding-left: 12px;
padding: 0 12px;
}

&.input_has-clear .input__box
Expand All @@ -250,6 +250,11 @@ ctx = '.input_theme_islands'
}
}

&.input_has-clear .input__control
{
padding-right: 0;
}

&.input_width_available
{
width: 100%;
Expand Down

0 comments on commit 8057c64

Please sign in to comment.