fix(input-container): prefix and suffix stretching together with parent (#2496)

Prevents the input's suffix and prefix from stretching together with their parent node and leaving some weird spacing between themselves and the input. This was a side-effect of using `display: table-cell`.

Fixes #2493.
Fixes #1881.
Fixes #1421.
This commit is contained in:
Kristiyan Kostadinov
2017-01-12 22:24:37 +01:00
committed by tinayuangao
parent e5bd15cc6b
commit 64f6d1bfe3
+6
View File
@@ -39,3 +39,9 @@ md-input-container {
}
}
}
// Prevents the prefix and suffix from stretching together with the container.
.md-input-prefix, .md-input-suffix {
width: 0.1px;
white-space: nowrap;
}