From 360eefc7d56801bcb2c0e14ecbc9f3e21b9bb3c1 Mon Sep 17 00:00:00 2001 From: Denis Date: Mon, 18 Mar 2019 10:07:14 +0300 Subject: [PATCH] Add less variable @modal-body-padding (#15476) --- components/modal/style/modal.less | 2 +- components/style/themes/default.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/modal/style/modal.less b/components/modal/style/modal.less index 7bbdb42c7e..52048036bd 100644 --- a/components/modal/style/modal.less +++ b/components/modal/style/modal.less @@ -82,7 +82,7 @@ } &-body { - padding: 24px; + padding: @modal-body-padding; font-size: @font-size-base; line-height: @line-height-base; word-wrap: break-word; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 8cc130e55e..f9bc52cae2 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -340,6 +340,7 @@ // Modal // -- +@modal-body-padding: 24px; @modal-header-bg: @component-background; @modal-mask-bg: fade(@black, 65%);