优化样式
parent
9109ca7680
commit
128df30a62
|
@ -125,10 +125,9 @@ class Swipe extends Component {
|
|||
border-color: #fff;
|
||||
border-radius: 50%;
|
||||
--size: 12px;
|
||||
transition: opacity linear 0.2s;
|
||||
|
||||
transition: opacity ease-in-out 0.2s;
|
||||
&:hover {
|
||||
opacity: 0.8 !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
}
|
||||
.left,
|
||||
|
@ -308,7 +307,7 @@ class Swipe extends Component {
|
|||
}
|
||||
render() {
|
||||
let styles = styleMap({
|
||||
opacity: this.showArrowBtn ? 0.5 : 0
|
||||
opacity: this.showArrowBtn ? 0.6 : 0
|
||||
})
|
||||
let toggleBtns =
|
||||
this.direction === 'horizontal'
|
||||
|
|
Loading…
Reference in New Issue