Skip to content

Commit

Permalink
优化songlist单行显示效果
Browse files Browse the repository at this point in the history
  • Loading branch information
IFmiss committed Jul 13, 2017
1 parent 848b4a6 commit 20d66be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/musicdetail/musicdetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@
let top = document.getElementsByClassName('musiclrc')[_this.currentLrcIndex].offsetTop
_this.scrollTop = top - height / 2
}
console.log(_this.$refs.lrc)
}, 2000)
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/components/songlist/songlist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@
justify-content: space-around
p
margin: 0
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
&.name
font-size:14px
color:#333
Expand Down

0 comments on commit 20d66be

Please sign in to comment.