From 9ce199c4ac76be4304b1a17afe31b3fbc81e2477 Mon Sep 17 00:00:00 2001 From: Erindcl Date: Tue, 28 Jul 2020 17:46:58 +0800 Subject: [PATCH] feat: modal style --- theme/dt-theme/dark/modal.less | 3 ++- theme/dt-theme/default/modal.less | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/theme/dt-theme/dark/modal.less b/theme/dt-theme/dark/modal.less index 8de744cf..7e9b6520 100644 --- a/theme/dt-theme/dark/modal.less +++ b/theme/dt-theme/dark/modal.less @@ -5,6 +5,7 @@ } .ant-modal-content { background-color: @blue2; + border: 1px solid @blue3; } .ant-modal-header { padding: 15px 20px; @@ -18,7 +19,7 @@ padding: 20px; } .ant-modal-confirm { - width: 460px !important; + min-width: 460px !important; } .ant-modal-confirm .ant-modal-body { padding: 52px 20px 20px 32px; diff --git a/theme/dt-theme/default/modal.less b/theme/dt-theme/default/modal.less index c22778cd..58eb1be9 100644 --- a/theme/dt-theme/default/modal.less +++ b/theme/dt-theme/default/modal.less @@ -15,7 +15,7 @@ padding: 20px; } .ant-modal-confirm { - width: 460px !important; + min-width: 460px !important; } .ant-modal-confirm .ant-modal-body { padding: 52px 20px 20px 32px;