Skip to content

Commit ae94ac9

Browse files
authored
Merge pull request #216 from tailwindcss/revert-button-reset
Revert trying to reset Chrome 62 default button styles
2 parents d9c3f7b + 7305bac commit ae94ac9

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -535,11 +535,10 @@ fieldset {
535535
*
536536
* We can remove this when the reversion is in a normal Chrome release.
537537
*/
538-
input[type="button" i],
539-
input[type="submit" i],
540-
input[type="reset" i],
541-
input[type="file" i]::-webkit-file-upload-button,
542-
button {
538+
button,
539+
[type="button"],
540+
[type="reset"],
541+
[type="submit"] {
543542
border-radius: 0;
544543
}
545544

css/preflight.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -535,11 +535,10 @@ fieldset {
535535
*
536536
* We can remove this when the reversion is in a normal Chrome release.
537537
*/
538-
input[type="button" i],
539-
input[type="submit" i],
540-
input[type="reset" i],
541-
input[type="file" i]::-webkit-file-upload-button,
542-
button {
538+
button,
539+
[type="button"],
540+
[type="reset"],
541+
[type="submit"] {
543542
border-radius: 0;
544543
}
545544

0 commit comments

Comments
 (0)