From 2850ec17ee7a006c01c6d61c18a44e7f1342a3e2 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 28 Mar 2020 09:46:12 +0000 Subject: [PATCH] r --- dev.less | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/dev.less b/dev.less index 09dfe94..a30b153 100644 --- a/dev.less +++ b/dev.less @@ -46,17 +46,20 @@ body::before { } */ -.navigation, -.navigation>ul, -.navigation>ul>.level0{ - position: static !important; -} -.submenu.level0[aria-expanded="true"]{ - display: flex !important; - left: 50% !important; - transform: translateX(-50%); -} -.submenu.level1{ - position: static !important; - display: block !important; +/* desktop */ +@media (min-width: 768px) { /* desktop */ + .navigation, + .navigation>ul, + .navigation>ul>.level0{ + position: static !important; + } + .submenu.level0[aria-expanded="true"]{ + display: flex !important; + left: 50% !important; + transform: translateX(-50%); + } + .submenu.level1{ + position: static !important; + display: block !important; + } }