Skip to content

Commit

Permalink
Ensure max specificity of 0,0,1 for button and input Preflight rules (#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
3 people committed Jan 9, 2024
1 parent 7361468 commit 50fa6dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Nothing yet!
### Fixed

- Ensure max specificity of `0,0,1` for button and input Preflight rules ([#12735](https://github.com/tailwindlabs/tailwindcss/pull/12735))

## [3.4.1] - 2014-01-05

Expand Down
6 changes: 3 additions & 3 deletions src/css/preflight.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ select {
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
-webkit-appearance: button; /* 1 */
background-color: transparent; /* 2 */
background-image: none; /* 2 */
Expand Down

0 comments on commit 50fa6dd

Please sign in to comment.