diff --git a/lib/tpl/dokuwiki/css/mobile.css b/lib/tpl/dokuwiki/css/mobile.css
index 5edb88cb278113b0985620daaec0820c0664d194..c5ab6d3a9b5551f0a1a3e381e1a52e05eed0e9ee 100644
--- a/lib/tpl/dokuwiki/css/mobile.css
+++ b/lib/tpl/dokuwiki/css/mobile.css
@@ -7,7 +7,7 @@
 
 /* up to 768px screen widths
 ********************************************************************/
-@media only screen and (max-width: 768px), only screen and (max-device-width: 1024px) {
+@media only screen and (max-width: 767px) {
 
 /* structure */
 #dokuwiki__aside {
@@ -94,7 +94,7 @@
 
 /* up to 480px screen widths
 ********************************************************************/
-@media only screen and (max-width: 480px), only screen and (max-device-width: 768px) {
+@media only screen and (max-width: 480px) {
 
 /*____________ structure ____________*/