Restored original breakpoints, but without layout min-width
authorAlexander Ebert <ebert@woltlab.com>
Sun, 28 Aug 2016 09:16:19 +0000 (11:16 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 28 Aug 2016 09:16:19 +0000 (11:16 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Screen.js
wcfsetup/install/files/style/bootstrap/mixin/mediaQuery.scss

index c59b69cf6b8f7486c3c7e51d0c3cf89a4cfb5992..50f3f7f36131d42f1c50c5907ab4c1ff3853cefd 100644 (file)
@@ -17,11 +17,11 @@ define(['Core', 'Dictionary'], function(Core, Dictionary) {
                'screen-sm': '(min-width: 545px) and (max-width: 768px)',       /* tablet (portrait) */
                'screen-sm-down': '(max-width: 768px)',                         /* smartphone + tablet (portrait) */
                'screen-sm-up': '(min-width: 545px)',                           /* tablet (portrait) + tablet (landscape) + desktop */
-               'screen-sm-md': '(min-width: 545px) and (max-width: 1150px)',   /* tablet (portrait) + tablet (landscape) */
-               'screen-md': '(min-width: 769px) and (max-width: 1150px)',      /* tablet (landscape) */
-               'screen-md-down': '(max-width: 1150px)',                        /* smartphone + tablet (portrait) + tablet (landscape) */
+               'screen-sm-md': '(min-width: 545px) and (max-width: 1024px)',   /* tablet (portrait) + tablet (landscape) */
+               'screen-md': '(min-width: 769px) and (max-width: 1024px)',      /* tablet (landscape) */
+               'screen-md-down': '(max-width: 1024px)',                        /* smartphone + tablet (portrait) + tablet (landscape) */
                'screen-md-up': '(min-width: 769px)',                           /* tablet (landscape) + desktop */
-               'screen-lg': '(min-width: 1151px)'                              /* desktop */
+               'screen-lg': '(min-width: 1025px)'                              /* desktop */
        });
        
        /**
index 4c74cab1fab0d997bf8b174daa2b0acda73ab508..61f33039966e9310604dde639c7eed2e9854f206 100644 (file)
 
 /* tablet (portrait) + tablet (landscape) */
 @mixin screen-sm-md() {
-       @media (min-width: 545px) and (max-width: 1150px) {
+       @media (min-width: 545px) and (max-width: 1024px) {
                @content;
        }
 }
 
 /* tablet (landscape) */
 @mixin screen-md() {
-       @media (min-width: 769px) and (max-width: 1150px) {
+       @media (min-width: 769px) and (max-width: 1024px) {
                @content;
        }
 }
 
 /* smartphone + tablet (portrait) + tablet (landscape) */
 @mixin screen-md-down() {
-       @media (max-width: 1150px) {
+       @media (max-width: 1024px) {
                @content;
        }
 }
@@ -56,7 +56,7 @@
 
 /* desktop */
 @mixin screen-lg() {
-       @media (min-width: 1151px) {
+       @media (min-width: 1025px) {
                @content;
        }
 }