From fea11e6b23dd666a1ea2c9503d5ae8bcd55baf69 Mon Sep 17 00:00:00 2001 From: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com> Date: Fri, 18 Nov 2022 13:10:32 +0800 Subject: [PATCH] =?UTF-8?q?styles:=20=E4=BF=AE=E5=A4=8Dcard/images?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=20(#5744)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-ui/scss/components/_button.scss | 4 ---- packages/amis-ui/scss/components/_card.scss | 1 + packages/amis-ui/scss/components/_images.scss | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/amis-ui/scss/components/_button.scss b/packages/amis-ui/scss/components/_button.scss index 4d0a8661d..0b582c5bf 100644 --- a/packages/amis-ui/scss/components/_button.scss +++ b/packages/amis-ui/scss/components/_button.scss @@ -853,10 +853,6 @@ var(--button-link-disabled-left-border-style), var(--button-link-disabled-shadow) ); - padding: 0; - margin: 0; - height: auto; - line-height: auto; } &--block { diff --git a/packages/amis-ui/scss/components/_card.scss b/packages/amis-ui/scss/components/_card.scss index 63f7b1738..29f414b92 100644 --- a/packages/amis-ui/scss/components/_card.scss +++ b/packages/amis-ui/scss/components/_card.scss @@ -133,6 +133,7 @@ width: 100%; table-layout: fixed; white-space: nowrap; + align-items: center; > a { background: transparent; diff --git a/packages/amis-ui/scss/components/_images.scss b/packages/amis-ui/scss/components/_images.scss index c9b050258..c07e6dd73 100644 --- a/packages/amis-ui/scss/components/_images.scss +++ b/packages/amis-ui/scss/components/_images.scss @@ -21,7 +21,7 @@ &-thumbWrap { position: relative; - height: 100%; + // height: 100%; } &-image {