From ad0d0ecdc560fa1a33d8ec7e78c511a5416c7be2 Mon Sep 17 00:00:00 2001 From: Delba de Oliveira Date: Fri, 11 Nov 2022 06:46:15 +0000 Subject: [PATCH] Don't apply hover: on devices that don't support it More: https://github.com/tailwindlabs/tailwindcss/pull/8394 --- tailwind.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tailwind.config.js b/tailwind.config.js index b896b917..9054167e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -7,6 +7,9 @@ module.exports = { './page/**/*.{js,ts,jsx,tsx}', './ui/**/*.{js,ts,jsx,tsx}', ], + future: { + hoverOnlyWhenSupported: true, + }, theme: { extend: { // https://vercel.com/design/color