From 69775dea683340ca78cfc712d7d8637e98b401c4 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 28 Jul 2017 12:10:43 +0800 Subject: [PATCH] fix grid card padding implementation --- components/card/__tests__/__snapshots__/demo.test.js.snap | 1 - components/card/demo/grid-card.md | 2 +- components/card/style/index.less | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/card/__tests__/__snapshots__/demo.test.js.snap b/components/card/__tests__/__snapshots__/demo.test.js.snap index 5fe1c1dc53..a9eab413cd 100644 --- a/components/card/__tests__/__snapshots__/demo.test.js.snap +++ b/components/card/__tests__/__snapshots__/demo.test.js.snap @@ -88,7 +88,6 @@ exports[`renders ./components/card/demo/grid-card.md correctly 1`] = `
+ 卡片内容 卡片内容 卡片内容 diff --git a/components/card/style/index.less b/components/card/style/index.less index 6380d9f28f..d6be316612 100644 --- a/components/card/style/index.less +++ b/components/card/style/index.less @@ -68,6 +68,7 @@ &-contain-grid &-body { margin: -0.5px; + padding: 0; } &-grid {