From 7ee99d4dfab058ad9ec55a8055f7741a292d662c Mon Sep 17 00:00:00 2001 From: 188633308 <188633308@qq.com> Date: Sun, 25 Apr 2021 15:35:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=8F=9C=E5=8D=95=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/assets/style/main.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Web/src/assets/style/main.less b/Web/src/assets/style/main.less index db26b53..2a039d3 100644 --- a/Web/src/assets/style/main.less +++ b/Web/src/assets/style/main.less @@ -352,10 +352,12 @@ box-shadow: 2px 0 8px @nav-box-shadow-color; } .swiper-container { - flex: 1 1 100%; + position: absolute; + top: (@layout-header-height / 2) + (@padding-xxs * 2); + left: 0; + bottom: 0; width: 100%; - height: 100%; .swiper-scrollbar { transition: @animation-duration-slow; transition-property: opacity;