From 478b080d451464b9cd5a20fd75e05060dd6071a2 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 23 Aug 2021 14:43:09 +0800 Subject: [PATCH] =?UTF-8?q?issue=2049808=20:tab=E9=A1=B5=E9=BC=A0=E6=A0=87?= =?UTF-8?q?=E6=82=AC=E5=81=9C=E8=A7=84=E8=8C=83=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Main/list.scss | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/forge/Main/list.scss b/src/forge/Main/list.scss index b4a966b23..c5d011c54 100644 --- a/src/forge/Main/list.scss +++ b/src/forge/Main/list.scss @@ -226,13 +226,15 @@ flex-direction: row; cursor: pointer; li{ - font-size: 14px; position: relative; text-align: center; - height: 40px; - line-height: 28px; - padding:0px 20px; + padding:0px; & > a{ + font-size: 14px; + height: 40px; + line-height: 28px; + padding:0px 20px; + display: block; color: #666; &> img{ margin-right: 8px; @@ -257,13 +259,13 @@ position: absolute; bottom:0px; height:2px; - background-color: #2A61FF; + background-color:rgba(153, 153, 153, 0.2); content:''; left: 0px; width:100%; } - &:hover::after{ - background-color: rgba(153, 153, 153, 0.2);; + &.active::after{ + background-color: #2A61FF; } } }