diff --git a/pages/amv/amv.scarlet b/pages/amv/amv.scarlet index f45fbb65..e6768576 100644 --- a/pages/amv/amv.scarlet +++ b/pages/amv/amv.scarlet @@ -5,7 +5,7 @@ const amv-large-width = 854px .amv width 100% - margin calc(content-padding / 2) 0 + margin 1rem 0 .video-container box-shadow shadow-medium diff --git a/pages/anime/anime.scarlet b/pages/anime/anime.scarlet index bdf86308..87629f7f 100644 --- a/pages/anime/anime.scarlet +++ b/pages/anime/anime.scarlet @@ -73,6 +73,9 @@ .anime-soundtracks vertical + .soundtrack + margin 1rem 0 + .soundtrack-content border-bottom-left-radius ui-element-border-radius !important border-top-left-radius ui-element-border-radius !important @@ -87,7 +90,7 @@ .soundtrack max-width 200px - padding 0.5rem + margin calc(content-padding / 2) .soundtrack-content min-height 112px diff --git a/pages/soundtracks/fetch.go b/pages/soundtracks/fetch.go index 9b3c6d26..05425fc5 100644 --- a/pages/soundtracks/fetch.go +++ b/pages/soundtracks/fetch.go @@ -7,6 +7,6 @@ import ( // fetchAll returns all soundtracks func fetchAll() []*arn.SoundTrack { return arn.FilterSoundTracks(func(track *arn.SoundTrack) bool { - return !track.IsDraft && len(track.Media) > 0 + return !track.IsDraft && track.File != "" }) } diff --git a/pages/soundtracks/soundtracks.scarlet b/pages/soundtracks/soundtracks.scarlet index 1989476d..938b4bb1 100644 --- a/pages/soundtracks/soundtracks.scarlet +++ b/pages/soundtracks/soundtracks.scarlet @@ -16,9 +16,9 @@ const soundtrack-margin = 1rem .soundtrack-content horizontal - border-radius ui-element-border-radius box-shadow shadow-light min-height 200px + border-radius ui-element-border-radius overflow hidden iframe