mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-07 13:48:31 +08:00
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:
parent
b3e41e9910
commit
4a6414a39c
@ -4,6 +4,7 @@
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix `n-dialog`'s `content` word-break.
|
||||
- Fix `n-input-number` cannot input decimals value.
|
||||
|
||||
### Feats
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
### Fixes
|
||||
|
||||
- 修复 `n-dialog` 的 `content` 内容为英文时的换行问题
|
||||
- 修复 `n-input-number` 不能输入小数值
|
||||
|
||||
### Feats
|
||||
|
@ -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;')
|
||||
]),
|
||||
|
Loading…
Reference in New Issue
Block a user