Skip to content

Commit 7305bac

Browse files
committed
Reset radius applied by Chrome 62 using low specificity selectors
1 parent b911447 commit 7305bac

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,18 @@ fieldset {
530530
border-color: #dae4e9;
531531
}
532532

533+
/**
534+
* Temporary reset for a change introduced in Chrome 62 but now reverted.
535+
*
536+
* We can remove this when the reversion is in a normal Chrome release.
537+
*/
538+
button,
539+
[type="button"],
540+
[type="reset"],
541+
[type="submit"] {
542+
border-radius: 0;
543+
}
544+
533545
textarea {
534546
resize: vertical;
535547
}

css/preflight.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,18 @@ fieldset {
530530
border-color: config('borderColors.default', currentColor);
531531
}
532532

533+
/**
534+
* Temporary reset for a change introduced in Chrome 62 but now reverted.
535+
*
536+
* We can remove this when the reversion is in a normal Chrome release.
537+
*/
538+
button,
539+
[type="button"],
540+
[type="reset"],
541+
[type="submit"] {
542+
border-radius: 0;
543+
}
544+
533545
textarea { resize: vertical; }
534546

535547
img { max-width: 100%; }

0 commit comments

Comments
 (0)