fix(dialog): close button will be overlayed with content, closes #1381

This commit is contained in:
07akioni 2021-10-17 18:56:21 +08:00
parent 5708554ee8
commit 4ac6be229a
3 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
### Fixes
- Fix `n-collapse`'s expanded status is lost when using `v-if` with `n-collapse-item`, closes [#1387](https://github.com/TuSimple/naive-ui/issues/1387).
- Fix `n-dialog`'s close button will be overlayed with content, closes [#1381](https://github.com/TuSimple/naive-ui/issues/1381).
### Feats

View File

@ -5,6 +5,7 @@
### Fixes
- 修复 `n-collapse``n-collapse-item` 使用 `v-if` 是展开状态丢失,关闭 [#1387](https://github.com/TuSimple/naive-ui/issues/1387)
- 修复 `n-dialog` 的关闭按钮会被内容遮盖,关闭 [#1381](https://github.com/TuSimple/naive-ui/issues/1381)
### Feats

View File

@ -71,6 +71,7 @@ export default c([
top: 0;
margin: var(--close-margin);
transition: .3s color var(--bezier);
z-index: 1;
`),
cE('content', `
font-size: var(--font-size);