diff --git a/src/AppConfig.js b/src/AppConfig.js index bb5405c6f..665e85f0f 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -25,7 +25,7 @@ if (isDev) { } debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' : window.location.search.indexOf('debug=s') !== -1 ? 'student' : - window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || '' + window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin' } window._debugType = debugType; export function initAxiosInterceptors(props) { diff --git a/src/forge/css/index.scss b/src/forge/css/index.scss index a19619d73..fa291edf3 100644 --- a/src/forge/css/index.scss +++ b/src/forge/css/index.scss @@ -56,7 +56,7 @@ ul,ol,dl{ } @media screen and (max-width: 1200px){ .main{ - width:1000px; + width:100%; margin:10px auto; } } @@ -158,13 +158,21 @@ form{ margin-bottom: 20px; } } +@media screen and (max-width: 1200px){ + .main{ + width: 100%; + } + .normal{ + width: 100%; + } +} @media screen and (max-width: 1000px){ .main{ - width: 750px; + width: 100%; margin:1rem auto; } .normal{ - width: 750px; + width: 100%; } } @media screen and (max-width: 750px){