diff --git a/packages/theme/src/dialog-box/index.less b/packages/theme/src/dialog-box/index.less index 5f7aac483c..3f89a34a82 100644 --- a/packages/theme/src/dialog-box/index.less +++ b/packages/theme/src/dialog-box/index.less @@ -125,11 +125,8 @@ & &__body { text-align: left; padding: var(--ti-dialog-box-body-padding-vertical) var(--ti-dialog-box-body-padding-horizontal); - margin-bottom: var(--ti-dialog-box-body-margin-bottom); color: var(--ti-dialog-box-body-text-color); font-size: var(--ti-dialog-box-body-font-size); - overflow: auto; - max-height: 65vh; .@{css-prefix}upload { overflow: hidden; diff --git a/packages/theme/src/dialog-box/vars.less b/packages/theme/src/dialog-box/vars.less index d822ff631c..c3191b4bf4 100644 --- a/packages/theme/src/dialog-box/vars.less +++ b/packages/theme/src/dialog-box/vars.less @@ -134,4 +134,8 @@ --ti-dialog-box-resize-icon-color-hover: var(--ti-common-color-icon-normal); // 缩放按钮大小 --ti-dialog-box-resize-icon-size: var(--ti-common-font-size-2); + // 按钮距离顶部距离 + --ti-dialog-box-btn-tools-position-top: var(--ti-common-size-3x); + // 按钮距离右侧距离 + --ti-dialog-box-btn-tools-position-right: var(--ti-common-size-3x); }