diff --git a/templates/base.html b/templates/base.html
index a45399c5..8c411ada 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -112,8 +112,8 @@
}
}
-/* Improve navbar tap targets and mobile dropdown behaviour */
- @media (max-width: 991.98px) {
+/* Improve navbar tap targets and mobile dropdown behaviour (touch devices only) */
+ @media (max-width: 991.98px) and (hover: none) and (pointer: coarse) {
/* Make navbar links larger and easier to tap */
.navbar-nav .nav-link {
padding: .75rem 1rem;