Skip to content

Commit

Permalink
<fix>(issue): #66
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyFoxFN committed Jan 5, 2018
1 parent 9c5e700 commit 4ff5101
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/pages/slide.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

<style lang="stylus" rel="stylesheet/stylus">
.slide-container
height: 64px
height: 75px
margin-bottom: 15px
transform: translateZ(0px)
border-radius: 2px
Expand Down
6 changes: 3 additions & 3 deletions src/components/slide/slide-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
.cube-slide-item
float: left
box-sizing: border-box
height: 100%
text-align: center
> a
display: block
width: 100%
height: 100%
overflow: hidden
text-decoration: none
> img
width: 100%
height: 100%
display: block
height: 100%
</style>
4 changes: 4 additions & 0 deletions src/components/slide/slide.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,13 @@
<style lang="stylus" rel="stylesheet/stylus">
@require "../../common/stylus/variable.styl"
.cube-slide
position: relative
min-height: 1px
height: 100%
.cube-slide-group
position: relative
height: 100%
overflow: hidden
white-space: nowrap
Expand All @@ -219,6 +222,7 @@
right: 0
left: 0
padding: 0 6px
font-size: 0
text-align: center
transform: translateZ(1px)
> span
Expand Down

0 comments on commit 4ff5101

Please sign in to comment.