From 8235142eb903da9d4dac0985a097b65ee372df4d Mon Sep 17 00:00:00 2001 From: Sean Bao Date: Tue, 5 Mar 2019 12:06:50 +0800 Subject: [PATCH] Fix margin top style error of Description List following Description List (#3653) --- src/components/DescriptionList/index.less | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/components/DescriptionList/index.less b/src/components/DescriptionList/index.less index 4048a128..c3cf8e69 100644 --- a/src/components/DescriptionList/index.less +++ b/src/components/DescriptionList/index.less @@ -8,6 +8,14 @@ overflow: hidden; } } + // fix margin top error of following descriptionList + & + & { + :global { + .ant-row { + margin-top: 16px; + } + } + } .title { margin-bottom: 16px; @@ -47,6 +55,14 @@ margin-bottom: -8px; } } + // fix margin top error of following descriptionList + & + .descriptionList { + :global { + .ant-row { + margin-top: 8px; + } + } + } .title { margin-bottom: 12px; color: @text-color; -- GitLab