Skip to content

Commit 00acae6

Browse files
committed
Apply default placeholder styling to textarea too
1 parent 7b5c441 commit 00acae6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,8 @@ textarea {
548548
font-family: inherit;
549549
}
550550

551-
input::placeholder {
551+
input::placeholder,
552+
textarea::placeholder {
552553
color: inherit;
553554
opacity: .5;
554555
}

css/preflight.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ svg { fill: currentColor; }
536536

537537
button, input, optgroup, select, textarea { font-family: inherit; }
538538

539-
input::placeholder {
539+
input::placeholder, textarea::placeholder {
540540
color: inherit;
541541
opacity: .5;
542542
}

0 commit comments

Comments
 (0)