Browse Source

fix:界面优化

lkf
15881625488@163.com 2 months ago
parent
commit
58541bf819
2 changed files with 5 additions and 5 deletions
  1. +4
    -4
      src/layout/components/AppMain.vue
  2. +1
    -1
      src/settings.js

+ 4
- 4
src/layout/components/AppMain.vue View File

@ -47,7 +47,7 @@ export default {
<style lang="scss" scoped>
.app-main {
/* 50= navbar 50 */
min-height: calc(100vh - 100px);
min-height: calc(100vh - 84px);
width: 100%;
position: relative;
overflow: hidden;
@ -57,7 +57,7 @@ export default {
.fixed-header + .app-main {
overflow-y: auto;
scrollbar-gutter: auto;
height: calc(100vh - 100px);
height: calc(100vh - 84px);
min-height: 0px;
}
@ -72,12 +72,12 @@ export default {
.hasTagsView {
.app-main {
/* 84 = navbar + tags-view = 50 + 34 */
min-height: calc(100vh - 100px);
min-height: calc(100vh - 84px);
}
.fixed-header + .app-main {
margin-top: 84px;
height: calc(100vh - 100px);
height: calc(100vh -84px);
min-height: 0px;
}
}

+ 1
- 1
src/settings.js View File

@ -32,7 +32,7 @@ module.exports = {
/**
* 是否固定头部
*/
fixedHeader: false,
fixedHeader: true,
/**
* 是否显示logo

Loading…
Cancel
Save