From 7d2d7b8ed99258232e2b075c0b692892b7bd8926 Mon Sep 17 00:00:00 2001 From: Delba de Oliveira <4300231+josediazdiazwa@users.noreply.github.com> Date: Fri, 11 Nov 2022 06:55:25 +0000 Subject: [PATCH] Don't apply hover: on devices that don't support it (#68) 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 b896b91..9054167 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