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

Commit 035a4ef

Browse files
author
Robert Messerle
committed
fix(input): fixes label alignment in Firefox
1 parent c667b54 commit 035a4ef

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
@@ -32,6 +32,9 @@ md-input-container {
3232

3333
&.md-has-icon {
3434
padding-left: $icon-offset;
35+
> label {
36+
left: $icon-offset;
37+
}
3538
}
3639

3740
// When we have ng-messages, remove the input error height from our bottom padding, since the
@@ -87,6 +90,7 @@ md-input-container {
8790
label {
8891
position: absolute;
8992
bottom: 100%;
93+
left: 0;
9094
}
9195

9296

0 commit comments

Comments
 (0)