Skip to content

Commit

Permalink
x-dialog: support variable dialog-gap-width #2640
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Apr 15, 2018
1 parent eea525b commit eef555e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/x-dialog/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,10 @@ slots:
changes:
next:
en:
- '[feature] support variable dialog-gap-width #2640'
- '[enhance] support dialog-width and dialog-max-width variable #2577'
zh-CN:
- '[feature] 支持样式变量 dialog-gap-width #2640'
- '[enhance] 支持样式变量 dialog-width and dialog-max-width #2577'
v2.7.4:
en:
Expand Down
5 changes: 5 additions & 0 deletions src/styles/variable.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
@dialog-button-text-warn-color: #E64340;
@dialog-width: 80%; // also affects alert confirm
@dialog-max-width: 300px; // also affects alert confirm
/**
* en: title and content's padding-left and padding-right
* zh-CN: 标题及内容区域的 padding-left 和 padding-right
*/
@dialog-gap-width: 1.6em; // alias @weuiDialogGapWidth

/**
* x-number
Expand Down

0 comments on commit eef555e

Please sign in to comment.