Skip to content

Commit

Permalink
fix(dialog-box): [dialog-box] modify theme (#2134)
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 authored Sep 18, 2024
1 parent 0d42d09 commit 4e528f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/theme/src/dialog-box/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions packages/theme/src/dialog-box/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 4e528f7

Please sign in to comment.