diff --git a/src/components/input/input.scss b/src/components/input/input.scss index 7ed471d2f1b..a65c7bbfdbc 100644 --- a/src/components/input/input.scss +++ b/src/components/input/input.scss @@ -293,7 +293,6 @@ md-input-container { transform: translate3d(0, $input-label-float-offset, 0) scale($input-label-float-scale); transition: transform $swift-ease-out-timing-function $swift-ease-out-duration, width $swift-ease-out-timing-function $swift-ease-out-duration; - width: calc((100% - #{$input-label-float-width}) / #{$input-label-float-scale}); } } @@ -351,17 +350,6 @@ md-input-container { width: calc(100% - #{$icon-offset} - #{$input-label-float-width}); } } - - &.md-input-focused, - &.md-input-has-placeholder, - &.md-input-has-value { - > label { - &:not(.md-no-float):not(._md-container-ignore), - .md-placeholder { - width: calc((100% - #{$icon-offset} - #{$input-label-float-width}) / #{$input-label-float-scale}); - } - } - } } // icon offset should have higher priority as normal label @@ -396,17 +384,6 @@ md-input-container { width: calc(100% - (#{$icon-offset} * 2)); } } - - &.md-input-focused, - &.md-input-has-placeholder, - &.md-input-has-value { - > label { - &:not(.md-no-float):not(._md-container-ignore), - .md-placeholder { - width: calc((100% - (#{$icon-offset} * 2)) / #{$input-label-float-scale}); - } - } - } } }