Improved soundtrack overview
This commit is contained in:
parent
fb1723d15f
commit
af726bd1ac
@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/animenotifier/notify.moe/components"
|
"github.com/animenotifier/notify.moe/components"
|
||||||
)
|
)
|
||||||
|
|
||||||
const maxTracks = 10
|
const maxTracks = 9
|
||||||
|
|
||||||
// Get renders the music page.
|
// Get renders the music page.
|
||||||
func Get(ctx *aero.Context) string {
|
func Get(ctx *aero.Context) string {
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
.sound-tracks
|
.sound-tracks
|
||||||
vertical
|
horizontal-wrap
|
||||||
|
justify-content space-around
|
||||||
|
|
||||||
.sound-track
|
.sound-track
|
||||||
vertical
|
vertical
|
||||||
|
flex 1
|
||||||
|
flex-basis 500px
|
||||||
|
padding 1rem
|
||||||
|
|
||||||
|
|
||||||
.sound-track-content
|
.sound-track-content
|
||||||
horizontal
|
horizontal
|
||||||
@ -21,7 +26,11 @@
|
|||||||
opacity 0.65
|
opacity 0.65
|
||||||
|
|
||||||
.sound-track-anime-link
|
.sound-track-anime-link
|
||||||
//
|
display none
|
||||||
|
|
||||||
|
> 800px
|
||||||
|
.sound-track-anime-link
|
||||||
|
display block
|
||||||
|
|
||||||
.sound-track-anime-image
|
.sound-track-anime-image
|
||||||
max-width 142px
|
max-width 142px
|
||||||
|
@ -90,22 +90,4 @@ profile-boot-duration = 2s
|
|||||||
// Categories
|
// Categories
|
||||||
|
|
||||||
.profile-category
|
.profile-category
|
||||||
margin-bottom content-padding
|
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
|
|
Loading…
Reference in New Issue
Block a user