From f3dcd9f4ee324638c28f5523f2eae50a5744886a Mon Sep 17 00:00:00 2001
From: Lim Chee Aun <cheeaun@gmail.com>
Date: Tue, 31 Oct 2023 20:55:34 +0800
Subject: [PATCH] Position nav bar to top if there's hover

---
 src/components/shortcuts.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/shortcuts.css b/src/components/shortcuts.css
index a0e88160..59bee8f7 100644
--- a/src/components/shortcuts.css
+++ b/src/components/shortcuts.css
@@ -152,7 +152,7 @@ shortcuts .tab-bar[hidden] {
   }
 }
 
-@media (min-width: 40em) {
+@media (min-width: 40em) and (hover: hover) {
   #app[data-shortcuts-view-mode='tab-menu-bar'] .timeline-deck {
     margin-top: 44px;
   }