From ddb765c4a2acb04928dd782f81d2cb5ef5748bc9 Mon Sep 17 00:00:00 2001 From: Nathan Knowler Date: Tue, 28 Feb 2023 16:01:31 -0600 Subject: [PATCH] fix(ui): make nav links unselectable on mobile (#1691) --- components/nav/NavBottom.vue | 14 +++++++------- unocss.config.ts | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/components/nav/NavBottom.vue b/components/nav/NavBottom.vue index c363893e..ec1109fa 100644 --- a/components/nav/NavBottom.vue +++ b/components/nav/NavBottom.vue @@ -13,13 +13,13 @@ const { notifications } = useNotifications() > diff --git a/unocss.config.ts b/unocss.config.ts index 0013a084..f32d04b9 100644 --- a/unocss.config.ts +++ b/unocss.config.ts @@ -122,6 +122,7 @@ export default defineConfig({ } }, variantParentMatcher('fullscreen', '@media (display-mode: fullscreen)'), + variantParentMatcher('coarse-pointer', '@media (pointer: coarse)'), ], rules: [ // scrollbar-hide