Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit badcdd7

Browse files
author
Jonah Schulte
committed
inputs: use input prefix for -moz-placeholder fix instead of important override. Fixes #5166 - Text input placeholder text not grayed out in Firefox
1 parent de9027f commit badcdd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/structure/jquery.mobile.forms.textinput.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ input.ui-mini, .ui-mini input, textarea.ui-mini { font-size: 14px; }
1818
textarea.ui-mini { height: 45px; }
1919

2020
/* Resolves issue #5166: Added to support issue introduced in Firefox 15. We can likely remove this in the future. */
21-
:-moz-placeholder { color: #aaa !important; }
21+
input:-moz-placeholder { color: #aaa; }
2222

2323
@media all and (min-width: 450px){
2424
.ui-field-contain label.ui-input-text { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0 }

0 commit comments

Comments
 (0)