Skip to content

Commit 0be5d3a

Browse files
committed
Fix input label positioning in rows.
Also fixed the background-color in input:-webkit-autofill.
1 parent d2c4e28 commit 0be5d3a

File tree

1 file changed

+9
-1
lines changed
  • gwt-material/src/main/resources/gwt/material/design/public/css

1 file changed

+9
-1
lines changed

gwt-material/src/main/resources/gwt/material/design/public/css/overridecss.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,13 +914,21 @@ nav .input-field {
914914
padding: 0;
915915
}
916916

917+
/** Fixed the input label position **/
918+
.input-field label {
919+
left: 0 !important;
920+
}
921+
.row > .input-field label {
922+
left: 0.75rem !important;
923+
}
924+
917925
.dropdown-content {
918926
z-index: 995 !important;
919927
}
920928

921929
/** Fixed the autofill bg color on chrome **/
922930
input:-webkit-autofill {
923-
-webkit-box-shadow: 0 0 0px 100px white inset !important;
931+
transition: background-color 5000s ease-in-out 0s !important;
924932
}
925933

926934
/** Fixed breadcrumb **/

0 commit comments

Comments
 (0)