From 6448169caa5491911391bb5dbedd5e4b505fef13 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Mon, 7 Mar 2022 17:47:59 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E7=9B=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/sass/pages/page-dashboard.scss | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/resources/assets/sass/pages/page-dashboard.scss b/resources/assets/sass/pages/page-dashboard.scss index 3d4acdd85..fe1fd0e13 100644 --- a/resources/assets/sass/pages/page-dashboard.scss +++ b/resources/assets/sass/pages/page-dashboard.scss @@ -116,20 +116,13 @@ display: flex; background: #F9FAFB; padding: 12px; + margin-bottom: 8px; + border-radius: 6px; cursor: pointer; - transition: transform 0.3s ease-out 0s; - border-bottom: 1px solid #f1f2f3; + transition: transform 0.3s ease-out 0s, box-shadow 0.3s ease-out 0s; &:hover { transform: translateX(-2px); - } - &:first-child { - border-top-right-radius: 6px; - border-top-left-radius: 6px; - } - &:last-child { - border-bottom-right-radius: 6px; - border-bottom-left-radius: 6px; - border-bottom: 0; + box-shadow: 0 0 6px #dfdfdf; } &.complete { .item-title {