Improved soundtrack overview

This commit is contained in:
Eduard Urbach 2017-06-27 18:53:31 +02:00
parent fb1723d15f
commit af726bd1ac
3 changed files with 13 additions and 22 deletions

View File

@ -8,7 +8,7 @@ import (
"github.com/animenotifier/notify.moe/components"
)
const maxTracks = 10
const maxTracks = 9
// Get renders the music page.
func Get(ctx *aero.Context) string {

View File

@ -1,8 +1,13 @@
.sound-tracks
vertical
horizontal-wrap
justify-content space-around
.sound-track
vertical
flex 1
flex-basis 500px
padding 1rem
.sound-track-content
horizontal
@ -21,7 +26,11 @@
opacity 0.65
.sound-track-anime-link
//
display none
> 800px
.sound-track-anime-link
display block
.sound-track-anime-image
max-width 142px

View File

@ -90,22 +90,4 @@ profile-boot-duration = 2s
// Categories
.profile-category
margin-bottom content-padding
.sound-tracks
horizontal-wrap
justify-content space-around
.sound-track-anime-link
display none
.sound-track
flex 1
flex-basis 500px
padding 1rem
> 800px
.profile-category
.sound-tracks
.sound-track-anime-link
display block
margin-bottom content-padding