Fixed padding in anime list comparison

This commit is contained in:
Eduard Urbach 2018-03-05 19:01:46 +01:00
parent 5fba65ddc0
commit ea54b46c74
2 changed files with 7 additions and 4 deletions

View File

@ -29,6 +29,7 @@
.anime-list-item-name
flex 1
margin 0.5rem 1rem
padding 0
clip-long-text
a

View File

@ -6,7 +6,9 @@ component AnimeEpisode(anime *arn.Anime, episode *arn.AnimeEpisode, user *arn.Us
if validator.IsValidDate(episode.AiringDate.Start)
.utc-airing-date(data-start-date=episode.AiringDate.Start, data-end-date=episode.AiringDate.End, data-episode-number=episode.Number)= episode.AiringDate.StartDateHuman()
ul
for _, link := range episode.Links
a(href=link, title="Watch episode " + strconv.Itoa(episode.Number), target="_blank", rel="noopener")
RawIcon("eye")
if user != nil
ul
for _, link := range episode.Links
a(href=link, title="Watch episode " + strconv.Itoa(episode.Number), target="_blank", rel="noopener")
RawIcon("eye")