diff --git a/config/build.config.js b/config/build.config.js index 346c24bb4e1..a2cb5a96fd8 100644 --- a/config/build.config.js +++ b/config/build.config.js @@ -3,7 +3,7 @@ var fs = require('fs'); var versionFile = __dirname + '/../dist/commit'; module.exports = { - ngVersion: '1.4.6', + ngVersion: '1.4.7', version: pkg.version, repository: pkg.repository.url .replace(/^git/,'https') diff --git a/src/components/input/input.scss b/src/components/input/input.scss index b855434ddb7..aa61a2128a9 100644 --- a/src/components/input/input.scss +++ b/src/components/input/input.scss @@ -20,6 +20,7 @@ $icon-offset : 36px !default; $icon-float-focused-top: -8px !default; md-input-container { + @include pie-clearfix(); display: inline-block; position: relative; padding: $input-container-padding; @@ -156,6 +157,11 @@ md-input-container { width: 100%; box-sizing: border-box; + // Hacky fix to force vertical alignment between `input` and `textarea` + // Input and textarea do not align by default: + // http://jsbin.com/buqomevage/1/edit?html,css,js,output + float: left; + &:focus { outline: none; } @@ -191,6 +197,7 @@ md-input-container { transition: $swift-ease-out; transition-duration: $swift-ease-out-duration / 1.5; opacity: 0; + clear: left; .md-char-counter { position: absolute;