Skip to content

Commit f94a117

Browse files
authored
Add ::file-selector-button reset (tailwindlabs#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
1 parent 03f9de9 commit f94a117

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- Add `placeholder` variant ([#6106](https://github.com/tailwindlabs/tailwindcss/pull/6106))
1717
- Add tuple syntax for configuring screens while guaranteeing order ([#5956](https://github.com/tailwindlabs/tailwindcss/pull/5956))
1818
- Add combinable `touch-action` support ([#6115](https://github.com/tailwindlabs/tailwindcss/pull/6115))
19+
- Add `::file-selector-button` reset ([#6125](https://github.com/tailwindlabs/tailwindcss/pull/6125))
1920

2021
## [3.0.0-alpha.2] - 2021-11-08
2122

src/css/preflight.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
--tw-content: '';
1818
}
1919

20+
::file-selector-button {
21+
border-style: solid; /* 2 */
22+
}
23+
2024
/*
2125
1. Use a consistent sensible line-height in all browsers.
2226
2. Prevent adjustments of font size after orientation changes in iOS.

0 commit comments

Comments
 (0)