From c7b190f136f327732a8238dcfe36e4d5e667d82b Mon Sep 17 00:00:00 2001 From: RobinMalfait <1834413+RobinMalfait@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:18:13 +0000 Subject: [PATCH] Prepare preflight for border compatibility (#14745) This PR prepares the `preflight.css` so that we can introduce border style compatibility in a future PR. --- .../@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap | 2 +- packages/tailwindcss/preflight.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap b/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap index 507e72d5f..14a1fc61a 100644 --- a/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap +++ b/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap @@ -514,7 +514,7 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = ` } input:where(:not([type="button"], [type="reset"], [type="submit"])), select, textarea { - border: 1px solid; + border-width: 1px; } button, input:where([type="button"], [type="reset"], [type="submit"]) { diff --git a/packages/tailwindcss/preflight.css b/packages/tailwindcss/preflight.css index c1857b1bf..6e57b9faa 100644 --- a/packages/tailwindcss/preflight.css +++ b/packages/tailwindcss/preflight.css @@ -200,7 +200,7 @@ textarea, input:where(:not([type='button'], [type='reset'], [type='submit'])), select, textarea { - border: 1px solid; + border-width: 1px; } /*