Skip to content

Commit e2e87f3

Browse files
Make the placeholder style actually look like a placeholder
1 parent a4d6360 commit e2e87f3

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/components/ChallengeEditor/ChallengeName-Field/ChallengeName-Field.module.scss

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,18 @@
5252
}
5353
}
5454

55-
@-moz-document url-prefix() {
56-
.challengeName {
57-
&::-moz-placeholder { /* Mozilla Firefox 19+ */
58-
line-height: 38px;
59-
}
60-
&::-webkit-input-placeholder { /* Webkit */
61-
line-height: 38px;
62-
}
63-
&:-ms-input-placeholder { /* IE */
64-
line-height: 38px;
65-
}
55+
.challengeName {
56+
&::-moz-placeholder { /* Mozilla Firefox 19+ */
57+
line-height: 38px;
58+
color: $tc-gray-80;
59+
}
60+
&::-webkit-input-placeholder { /* Webkit */
61+
line-height: 38px;
62+
color: $tc-gray-80;
63+
}
64+
&:-ms-input-placeholder { /* IE */
65+
line-height: 38px;
66+
color: $tc-gray-80;
6667
}
6768
}
69+

0 commit comments

Comments
 (0)