From 04204be060e865108554808073e9682ebb2d6f58 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 2 May 2022 10:45:42 -0400 Subject: [PATCH 1/2] Remove duplicate `outline` property These are meant to be fallback styles --- src/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index ee60f72..0a9b31a 100644 --- a/src/index.js +++ b/src/index.js @@ -277,8 +277,10 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) { base: [`[type='file']:focus`], class: null, styles: { - outline: `1px solid ButtonText`, - outline: `1px auto -webkit-focus-ring-color`, + outline: [ + `1px solid ButtonText`, + `1px auto -webkit-focus-ring-color` + ], }, }, ] From 5beae62f13a4a0911efb41e4f9a5c7db4410e193 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 2 May 2022 10:50:27 -0400 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7782a37..0405f36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -Nothing yet! +### Fixed + +- Remove duplicate `outline` property ([#116](https://github.com/tailwindlabs/tailwindcss-forms/pull/116)) ## [0.5.0] - 2022-03-02 @@ -24,7 +26,7 @@ Nothing yet! ### Fixed - Use `addComponents` for class strategy ([#91](https://github.com/tailwindlabs/tailwindcss-forms/pull/91)) -- Fix extra height on Safari date/time inputs ([#109](https://github.com/tailwindlabs/tailwindcss-forms/pull/109)) +- Fix extra height on Safari date/time inputs ([#109](https://github.com/tailwindlabs/tailwindcss-forms/pull/109)) ## [0.4.0] - 2021-12-09