小屏内容宽度调整

This commit is contained in:
caishi 2021-11-16 15:54:45 +08:00
parent f2a660d595
commit 789e84211c
2 changed files with 12 additions and 4 deletions

View File

@ -25,7 +25,7 @@ if (isDev) {
} }
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' : debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
window.location.search.indexOf('debug=s') !== -1 ? 'student' : 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; window._debugType = debugType;
export function initAxiosInterceptors(props) { export function initAxiosInterceptors(props) {

View File

@ -56,7 +56,7 @@ ul,ol,dl{
} }
@media screen and (max-width: 1200px){ @media screen and (max-width: 1200px){
.main{ .main{
width:1000px; width:100%;
margin:10px auto; margin:10px auto;
} }
} }
@ -158,13 +158,21 @@ form{
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
@media screen and (max-width: 1200px){
.main{
width: 100%;
}
.normal{
width: 100%;
}
}
@media screen and (max-width: 1000px){ @media screen and (max-width: 1000px){
.main{ .main{
width: 750px; width: 100%;
margin:1rem auto; margin:1rem auto;
} }
.normal{ .normal{
width: 750px; width: 100%;
} }
} }
@media screen and (max-width: 750px){ @media screen and (max-width: 750px){