fix(data-table): spin style penetration (#662)

* fix(data-table): spin style penetration

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
This commit is contained in:
Mr.Bai 2021-07-26 23:38:16 +08:00 committed by GitHub
parent 371e9e6e58
commit 6797557535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 4 deletions

View File

@ -1,5 +1,11 @@
# CHANGELOG
## Pending
### Fixes
- Fix `n-data-table` the style penetration of the `n-spin`, closes[#663](https://github.com/TuSimple/naive-ui/issues/663).
## 2.15.7 (2021-07-25)
### Feats

View File

@ -1,5 +1,9 @@
# CHANGELOG
### Fixes
- 修复 `n-data-table` `n-spin`的样式穿透问题,关闭 [#663](https://github.com/TuSimple/naive-ui/issues/663)
## 2.15.7 (2021-07-25)
### Feats

View File

@ -82,6 +82,7 @@ export default c([
])
])
]),
c('>', [
cB('base-loading', `
color: var(--loading-color);
font-size: var(--loading-size);
@ -94,6 +95,7 @@ export default c([
fadeInScaleUpTransition({
originalTransform: 'translateX(-50%) translateY(-50%)'
})
])
]),
cB('data-table-expand-trigger', 'cursor: pointer;'),
cB('data-table-expand-placeholder', `