diff --git a/client/core/src/components/textfield/style.scss b/client/core/src/components/textfield/style.scss index 8173446d5..37ee3b511 100644 --- a/client/core/src/components/textfield/style.scss +++ b/client/core/src/components/textfield/style.scss @@ -49,7 +49,7 @@ vn-textfield { label { position: absolute; bottom: 0; - padding: 4px; + padding: 4px 0!important; pointer-events: none; color: $secondary-font-color; transition-duration: .2s; @@ -72,6 +72,7 @@ vn-textfield { color: inherit; padding: 4px; box-sizing: border-box; + border-bottom: 0!important; &[type=number] { -moz-appearance: textfield; @@ -122,7 +123,6 @@ vn-textfield { & > span.mdl-textfield__error { visibility: visible; - margin-top: 9px; } & > label { color: #d50000; diff --git a/client/core/src/components/textfield/textfield.html b/client/core/src/components/textfield/textfield.html index 31d9d9409..a730517ac 100644 --- a/client/core/src/components/textfield/textfield.html +++ b/client/core/src/components/textfield/textfield.html @@ -4,6 +4,7 @@