Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 5295f93

Browse files
author
Robert Messerle
committed
fix(input): fixes alignment issues between textareas and inputs
Closes #5462
1 parent 125bfe6 commit 5295f93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/input/input.scss

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ md-input-container {
2424
position: relative;
2525
padding: $input-container-padding;
2626
margin: 18px 0;
27+
overflow: hidden;
2728

2829
&.md-block {
2930
display: block;
@@ -156,6 +157,9 @@ md-input-container {
156157
width: 100%;
157158
box-sizing: border-box;
158159

160+
// Hacky fix to force proper alignment between `input` and `textarea`
161+
float: left;
162+
159163
&:focus {
160164
outline: none;
161165
}

0 commit comments

Comments
 (0)