diff --git a/src/assets/css/wiki/index.less b/src/assets/css/wiki/index.less index e3e84981..d1ada1d9 100644 --- a/src/assets/css/wiki/index.less +++ b/src/assets/css/wiki/index.less @@ -4,9 +4,11 @@ align-items: center; position: relative; width: 100%; - min-height: calc(100vh - 64px); - margin-top: 64px; + .h(100vh); + // min-height: calc(100vh - 64px); + // margin-top: 64px; padding-bottom: 64px; + box-sizing: border-box; background: url(~@/assets/img/wiki/overview/bg.png), linear-gradient(152.57deg, rgba(150, 128, 87, 1) 0%, rgba(87, 75, 65, 1) 27.78%, rgba(0, 0, 0, 1) 100%); background-size: cover; @@ -21,8 +23,18 @@ background: url(~@/assets/img/wiki/overview/bamboo.svg) no-repeat; background-size: cover; } + &.is_mobile { + .pb(0); + align-items: flex-start; + &::after { + display: none; + } + } } .m-achievement-content { margin-left: 64px; + &.is_mobile { + margin-left: 0; + } } diff --git a/src/components/wiki/sidebar.vue b/src/components/wiki/sidebar.vue index 8edfe2ee..6b50f7ab 100644 --- a/src/components/wiki/sidebar.vue +++ b/src/components/wiki/sidebar.vue @@ -1,6 +1,6 @@