Commit f62ea2af authored by Mark Otto's avatar Mark Otto

fixes #8793: remove padding-right from inputs with state changes

parent 73c04857
...@@ -1574,7 +1574,6 @@ textarea.input-sm { ...@@ -1574,7 +1574,6 @@ textarea.input-sm {
} }
.has-warning .form-control { .has-warning .form-control {
padding-right: 32px;
border-color: #c09853; border-color: #c09853;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
...@@ -1598,7 +1597,6 @@ textarea.input-sm { ...@@ -1598,7 +1597,6 @@ textarea.input-sm {
} }
.has-error .form-control { .has-error .form-control {
padding-right: 32px;
border-color: #b94a48; border-color: #b94a48;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
...@@ -1622,7 +1620,6 @@ textarea.input-sm { ...@@ -1622,7 +1620,6 @@ textarea.input-sm {
} }
.has-success .form-control { .has-success .form-control {
padding-right: 32px;
border-color: #468847; border-color: #468847;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -528,7 +528,6 @@ ...@@ -528,7 +528,6 @@
} }
// Set the border and box shadow on specific inputs to match // Set the border and box shadow on specific inputs to match
.form-control { .form-control {
padding-right: 32px; // to account for the feedback icon
border-color: @border-color; border-color: @border-color;
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
&:focus { &:focus {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment