From ea35e3ea57262b2901b3f2f15e8721a1119c77fb Mon Sep 17 00:00:00 2001 From: XPoet Date: Wed, 23 Dec 2020 20:56:17 +0800 Subject: [PATCH] style: optimize scale style --- source/css/layout/common/keep-theme.styl | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/css/layout/common/keep-theme.styl b/source/css/layout/common/keep-theme.styl index ed78641..4342902 100644 --- a/source/css/layout/common/keep-theme.styl +++ b/source/css/layout/common/keep-theme.styl @@ -43,12 +43,10 @@ keep-container(scaleX, scaleY, padding, marginBottomValue) { +keep-tablet() { padding: padding * 0.8; border-radius: $keep-container-border-radius * 0.8; - hover-style(scaleX * 0.8, scaleY * 0.8); } +keep-mobile() { padding: padding * 0.6; border-radius: $keep-container-border-radius * 0.6; - hover-style(scaleX * 0.6, scaleY * 0.6); } }