From ff1a056905eabb30d30c450330857905bc2371fd Mon Sep 17 00:00:00 2001 From: OpenIhu Date: Mon, 23 May 2022 15:58:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A6=96=E9=A1=B5=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E4=B8=BA9=E6=9D=A1=E4=B8=80=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/public/css/git.openi.css | 8 ++++---- public/home/home.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/custom/public/css/git.openi.css b/custom/public/css/git.openi.css index d50b7e2cd..7d05d503b 100644 --- a/custom/public/css/git.openi.css +++ b/custom/public/css/git.openi.css @@ -66,7 +66,7 @@ background: #DFE9F0; padding-top: 0; border: none; - margin-bottom: 11em; + margin-bottom: 13em; } .ui.secondary.hometop.segment #navbar{ z-index: 10; @@ -155,7 +155,7 @@ border-radius: 1.2em; background-color: rgba(16, 16, 16, .9); position: relative; - padding-left: 1.3em !important; + padding: 1.0em 1.0em 1.0em 1.3em; } .homeorg, .homepro, .homemodel, .i-env{ position: relative; @@ -169,7 +169,7 @@ bottom: 0; background-color: rgba(105, 192, 255, .4); width: 2px; -} +} .homenews .time-since{ padding-left: 1em; color: #888888; @@ -186,7 +186,7 @@ padding: 0; } .newslist{ - height: 260px; + height: 300px; overflow: hidden; } diff --git a/public/home/home.js b/public/home/home.js index 3b2a34f06..1f11b9a4f 100755 --- a/public/home/home.js +++ b/public/home/home.js @@ -9,7 +9,7 @@ if(isEmpty(token)){ var swiperNewMessage = new Swiper(".newslist", { direction: "vertical", - slidesPerView: 10, + slidesPerView: 9, loop: true, autoplay: { delay: 2500,