fix(carousel):arrow buttons cannot be displayed in a specific browser (#631)

* fix(carousel): issue 625

* fix(carousel): issue 625

* Update CHANGELOG.en-US.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
This commit is contained in:
doom-9 2021-07-24 23:42:22 +08:00 committed by GitHub
parent 5957803022
commit f66287b910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 1 deletions

View File

@ -8,6 +8,10 @@
- `n-switch` add `checked`, `unchecked` slots.
- `n-switch` add `loading` prop, closes [#301](https://github.com/TuSimple/naive-ui/issues/301).
### Fixes
- Fix `n-carousel` arrow buttons cannot be displayed in a specific browser, closes [#625](https://github.com/TuSimple/naive-ui/issues/625).
## 2.15.6 (2021-07-23)
### Feats

View File

@ -8,6 +8,10 @@
- `n-switch` 增加 `checked`、`unchecked` 插槽
- `n-switch` 增加 `loading` 属性,关闭 [#301](https://github.com/TuSimple/naive-ui/issues/301)
### Fixes
- 修复 `n-carousel` 中箭头按钮在特定浏览器下无法显示问题,关闭 `https://github.com/TuSimple/naive-ui/issues/625`
## 2.15.6 (2021-07-23)
### Feats

View File

@ -107,7 +107,11 @@ export default cB('carousel', `
c('&:active', {
transform: 'translateX(-50%) scale(1) rotate(90deg)'
})
])
]),
c('svg', {
height: '100%',
width: '100%'
})
]),
cM('left', [
cE('slides', `