1
This commit is contained in:
@@ -87,6 +87,18 @@ export default {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
&.mobile {
|
||||
height: auto;
|
||||
min-height: 100vh;
|
||||
position: relative;
|
||||
|
||||
&.openSidebar {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.drawer-bg {
|
||||
@@ -136,6 +148,9 @@ export default {
|
||||
.main-container {
|
||||
margin-left: 0 !important;
|
||||
width: 100%;
|
||||
height: auto !important;
|
||||
min-height: 100vh;
|
||||
overflow: visible;
|
||||
|
||||
&.mobile-layout {
|
||||
padding-bottom: 60px; // 为底部导航预留空间
|
||||
|
||||
Reference in New Issue
Block a user