mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
fix(upload): style fixes
This commit is contained in:
parent
e80ccf05b0
commit
aefd856f60
@ -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)
|
||||
|
||||
|
@ -4,8 +4,10 @@
|
||||
|
||||
### Fixes
|
||||
|
||||
- 修复 `DialogReactive` 属性只读。
|
||||
- 修复 `DialogReactive` 属性只读
|
||||
- 修复 `n-tree` 的 `checkStrategy` 属性单选替换 `leafOnly` 属性
|
||||
- 修复 `n-upload` 在 `image-card` 模式下触发区域作为一行唯一元素时被压缩
|
||||
- 修复 `n-upload-dragger` 边框缺乏过渡
|
||||
|
||||
## 2.19.0 (2021-09-19)
|
||||
|
||||
|
@ -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%;
|
||||
|
Loading…
Reference in New Issue
Block a user