diff options
author | Maxim Devaev <[email protected]> | 2022-10-04 23:17:01 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-10-04 23:17:01 +0300 |
commit | 128288bd54796be61473027151238710e52e83f7 (patch) | |
tree | 3fb3696dfe2dc9793b5f83cfe428cb5a9d77b672 /web/share/css/navbar.css | |
parent | 056d8d037b379fcf96a169a9365ae9fd0f0c7625 (diff) |
improved tablet detection
Diffstat (limited to 'web/share/css/navbar.css')
-rw-r--r-- | web/share/css/navbar.css | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/share/css/navbar.css b/web/share/css/navbar.css index 90a49ebe..bcafd56a 100644 --- a/web/share/css/navbar.css +++ b/web/share/css/navbar.css @@ -80,8 +80,7 @@ ul#navbar li a#logo:hover:not(.active), ul#navbar li a.menu-button:hover:not(.active) { background-color: var(--cs-navbar-item-hovered-bg); } -@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { - /* iPad 8 */ +@media only screen and (hover: none) and (pointer: coarse) { ul#navbar li a#logo:hover:not(.active), ul#navbar li a.menu-button:hover:not(.active) { background-color: var(--cs-navbar-default-bg) !important; |