Add ::file-selector-button reset (#6125)

* add ::file-selector-button reset

Otherwise you have to apply `file:border-solid` which you don't have to
do for other elements with borders.

See: https://play.tailwindcss.com/EvtdftCPt6

* update changelog
This commit is contained in:
Robin Malfait 2021-11-18 14:25:19 +01:00 • committed by GitHub
parent 03f9de9008
commit f94a117500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `placeholder` variant ([#6106](https://github.com/tailwindlabs/tailwindcss/pull/6106))
- Add tuple syntax for configuring screens while guaranteeing order ([#5956](https://github.com/tailwindlabs/tailwindcss/pull/5956))
- Add combinable `touch-action` support ([#6115](https://github.com/tailwindlabs/tailwindcss/pull/6115))
- Add `::file-selector-button` reset ([#6125](https://github.com/tailwindlabs/tailwindcss/pull/6125))
## [3.0.0-alpha.2] - 2021-11-08

View file

@ -17,6 +17,10 @@
--tw-content: '';
}
::file-selector-button {
border-style: solid; /* 2 */
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.