From 4057d97fbd1c830c8c15abcca00f51720b53e2ce Mon Sep 17 00:00:00 2001 From: chensiAb <chenchenco03@163.com> Date: Fri, 23 Aug 2024 09:57:32 +0800 Subject: [PATCH] fix:父组件不传递方法默认函数写法 --- layout/card/cCard.scss | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/layout/card/cCard.scss b/layout/card/cCard.scss index 2c6e93e..13c553f 100644 --- a/layout/card/cCard.scss +++ b/layout/card/cCard.scss @@ -36,20 +36,22 @@ } .c-card-action { width: 100%; + height: 96px; padding: 12px 16px; box-sizing: border-box; text-align: right; white-space: nowrap; line-height: 0; + font-size: 0; + >.at-button:first-child { + margin-left: 0; + } .at-button { min-width: 184px; height: 70px; padding: 0px 18px; margin-left: 16px; line-height: 68px; - &:first-child { - margin-left: 0; - } .at-icon { vertical-align: baseline; } -- Gitblit v1.9.1