diff --git a/lib/tpl/dokuwiki/css/mobile.css b/lib/tpl/dokuwiki/css/mobile.css
index b57b60e9b7be2dfc13474e7355cfbb469d2ff12c..5edb88cb278113b0985620daaec0820c0664d194 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: 960px) {
+@media only screen and (max-width: 768px), only screen and (max-device-width: 1024px) {
 
 /* 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: 960px) {
+@media only screen and (max-width: 480px), only screen and (max-device-width: 768px) {
 
 /*____________ structure ____________*/