From 01cf735453bb4f2757615beab5ee72480c07e417 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 20 Mar 2024 10:13:27 +0800 Subject: [PATCH] 优化图片预览组件,支持缩略图加载失败回退 --- layout/card/cCard.scss | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layout/card/cCard.scss b/layout/card/cCard.scss index be005bb..1a0a561 100644 --- a/layout/card/cCard.scss +++ b/layout/card/cCard.scss @@ -42,15 +42,15 @@ 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