Skip to content

Commit 01edbb6

Browse files
Remove duplicate outline property (#116)
* Remove duplicate `outline` property These are meant to be fallback styles * Update changelog
1 parent 37912e9 commit 01edbb6

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Diff for: CHANGELOG.md

+4-2
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+
- Remove duplicate `outline` property ([#116](https://github.com/tailwindlabs/tailwindcss-forms/pull/116))
1113

1214
## [0.5.0] - 2022-03-02
1315

@@ -24,7 +26,7 @@ Nothing yet!
2426
### Fixed
2527

2628
- Use `addComponents` for class strategy ([#91](https://github.com/tailwindlabs/tailwindcss-forms/pull/91))
27-
- Fix extra height on Safari date/time inputs ([#109](https://github.com/tailwindlabs/tailwindcss-forms/pull/109))
29+
- Fix extra height on Safari date/time inputs ([#109](https://github.com/tailwindlabs/tailwindcss-forms/pull/109))
2830

2931
## [0.4.0] - 2021-12-09
3032

Diff for: src/index.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,10 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) {
277277
base: [`[type='file']:focus`],
278278
class: null,
279279
styles: {
280-
outline: `1px solid ButtonText`,
281-
outline: `1px auto -webkit-focus-ring-color`,
280+
outline: [
281+
`1px solid ButtonText`,
282+
`1px auto -webkit-focus-ring-color`
283+
],
282284
},
283285
},
284286
]

0 commit comments

Comments
 (0)