fix(dialog): content style problem when use English (#1720)

* fix(dialog): content style problem when use English

* Update src/dialog/src/styles/index.cssr.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>
This commit is contained in:
XieZongChen 2021-12-02 14:02:50 -06:00 committed by GitHub
parent b3e41e9910
commit 4a6414a39c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
### Fixes
- Fix `n-dialog`'s `content` word-break.
- Fix `n-input-number` cannot input decimals value.
### Feats

View File

@ -4,6 +4,7 @@
### Fixes
- 修复 `n-dialog``content` 内容为英文时的换行问题
- 修复 `n-input-number` 不能输入小数值
### Feats

View File

@ -77,6 +77,7 @@ export default c([
font-size: var(--font-size);
margin: var(--content-margin);
position: relative;
word-break: break-word;
`, [
c('&:last-child', 'margin-bottom: 0;')
]),