diff --git a/src/components/input/demoBasicUsage/index.html b/src/components/input/demoBasicUsage/index.html index a5fb0a9a3c..6819c8b2bf 100644 --- a/src/components/input/demoBasicUsage/index.html +++ b/src/components/input/demoBasicUsage/index.html @@ -1,89 +1,94 @@
- - - - - - - - - - - - - -
- -
- - - - - - -
- -
- - - - - - - - - -
- - - - + +
+ + + - - + + + +
+
-
- - - + +
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + +
+ + + + - - - - - {{state.abbrev}} - - + + - - - - -
-
You must supply a postal code.
-
That doesn't look like a valid postal - code. +
+ + + + + + + + + + {{state.abbrev}} + + + + + + + + +
+
You must supply a postal code.
+
That doesn't look like a valid postal + code. +
+
+ Don't use the long version silly...we don't need to be that specific... +
-
- Don't use the long version silly...we don't need to be that specific... -
-
- -
+ +
- - - - + + + + - + +
diff --git a/src/components/input/demoIcons/index.html b/src/components/input/demoIcons/index.html index 2e90e2248e..9e2dd2c2cb 100644 --- a/src/components/input/demoIcons/index.html +++ b/src/components/input/demoIcons/index.html @@ -1,7 +1,7 @@ -
+

- + diff --git a/src/components/input/input.scss b/src/components/input/input.scss index 4db51d0c2e..b2f103b2f0 100644 --- a/src/components/input/input.scss +++ b/src/components/input/input.scss @@ -43,11 +43,6 @@ md-input-container { min-width: 1px; } - // Move the element after the spacer (likely an ng-messages container), on top of the spacer - .md-errors-spacer + * { - margin-top: -$input-error-height; - } - > md-icon { position: absolute; top: 5px; @@ -113,8 +108,8 @@ md-input-container { order: 1; pointer-events: none; -webkit-font-smoothing: antialiased; - @include rtl(padding-left, $input-container-padding, 0); - @include rtl(padding-right, 0, $input-container-padding); + @include rtl(padding-left, $input-container-padding + 1px, 0); + @include rtl(padding-right, 0, $input-container-padding + 1px); z-index: 1; transform: translate3d(0, $input-label-default-offset + 4, 0) scale($input-label-default-scale); transition: transform $swift-ease-out-timing-function 0.25s; @@ -208,7 +203,6 @@ md-input-container { position: relative; order: 4; overflow: hidden; - min-height: $input-error-height; @include rtl(clear, left, right); &.ng-enter {