Skip to content

Commit 50fa6dd

Browse files
Ensure max specificity of 0,0,1 for button and input Preflight rules (#12735)
* Ensure max specificity of 001 in all Preflight rules * Update changelog * Update changelog --------- Co-authored-by: Adam Wathan <[email protected]> Co-authored-by: Jordan Pittman <[email protected]>
1 parent 7361468 commit 50fa6dd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Fixed
11+
12+
- Ensure max specificity of `0,0,1` for button and input Preflight rules ([#12735](https://github.com/tailwindlabs/tailwindcss/pull/12735))
1113

1214
## [3.4.1] - 2014-01-05
1315

src/css/preflight.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ select {
195195
*/
196196

197197
button,
198-
[type='button'],
199-
[type='reset'],
200-
[type='submit'] {
198+
input:where([type='button']),
199+
input:where([type='reset']),
200+
input:where([type='submit']) {
201201
-webkit-appearance: button; /* 1 */
202202
background-color: transparent; /* 2 */
203203
background-image: none; /* 2 */

0 commit comments

Comments
 (0)