From c6ccadea3a8485082a5bde2ecd8b63754cb98dc6 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Wed, 15 Nov 2017 10:22:42 -0500 Subject: [PATCH] Only reset border radius on elements Chrome borked it on --- __tests__/fixtures/tailwind-output.css | 12 ++++++++++++ css/preflight.css | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 66c25fea9..9c280a1c4 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -528,6 +528,18 @@ fieldset { border-width: 0; border-style: solid; border-color: #dae4e9; +} + +/** + * Temporary reset for a change introduced in Chrome 62 but now reverted. + * + * We can remove this when the reversion is in a normal Chrome release. + */ +input[type="button" i], +input[type="submit" i], +input[type="reset" i], +input[type="file" i]::-webkit-file-upload-button, +button { border-radius: 0; } diff --git a/css/preflight.css b/css/preflight.css index b6d7dab63..ac77396e5 100644 --- a/css/preflight.css +++ b/css/preflight.css @@ -528,6 +528,18 @@ fieldset { border-width: 0; border-style: solid; border-color: config('borderColors.default', currentColor); +} + +/** + * Temporary reset for a change introduced in Chrome 62 but now reverted. + * + * We can remove this when the reversion is in a normal Chrome release. + */ +input[type="button" i], +input[type="submit" i], +input[type="reset" i], +input[type="file" i]::-webkit-file-upload-button, +button { border-radius: 0; }