Skip to content

Commit c7b190f

Browse files
committed
Prepare preflight for border compatibility (#14745)
This PR prepares the `preflight.css` so that we can introduce border style compatibility in a future PR.
1 parent 02cb52a commit c7b190f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
514514
}
515515
516516
input:where(:not([type="button"], [type="reset"], [type="submit"])), select, textarea {
517-
border: 1px solid;
517+
border-width: 1px;
518518
}
519519
520520
button, input:where([type="button"], [type="reset"], [type="submit"]) {

packages/tailwindcss/preflight.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ textarea,
200200
input:where(:not([type='button'], [type='reset'], [type='submit'])),
201201
select,
202202
textarea {
203-
border: 1px solid;
203+
border-width: 1px;
204204
}
205205

206206
/*

0 commit comments

Comments
 (0)