fix(upload): style fixes

This commit is contained in:
07akioni 2021-09-20 23:35:45 +08:00
parent e80ccf05b0
commit aefd856f60
3 changed files with 10 additions and 3 deletions

View File

@ -6,6 +6,8 @@
- Fix `DialogReactive` props are readonly.
- Fix `n-tree` replace `leafOnly` prop to `checkStrategy` prop in single check.
- Fix `n-upload`'s trigger is compressed in `image-card` mode when it's the only item in the row.
- Fix `n-upload-dragger` has no border transition.
## 2.19.0 (2021-09-19)

View File

@ -4,8 +4,10 @@
### Fixes
- 修复 `DialogReactive` 属性只读
- 修复 `DialogReactive` 属性只读
- 修复 `n-tree``checkStrategy` 属性单选替换 `leafOnly` 属性
- 修复 `n-upload``image-card` 模式下触发区域作为一行唯一元素时被压缩
- 修复 `n-upload-dragger` 边框缺乏过渡
## 2.19.0 (2021-09-19)

View File

@ -24,7 +24,7 @@ export default c([
padding: 24px;
opacity: 1;
transition:
opacity: .3s var(--bezier),
opacity .3s var(--bezier),
border-color .3s var(--bezier),
background-color .3s var(--bezier);
background-color: var(--dragger-color);
@ -48,7 +48,10 @@ export default c([
opacity: var(--item-disabled-opacity);
cursor: not-allowed;
`),
cM('image-card', [
cM('image-card', `
width: 96px;
height: 96px;
`, [
cB('upload-dragger', `
padding: 0;
height: 100%;