Removed arrow on anime list items

This commit is contained in:
Eduard Urbach 2018-04-20 00:19:21 +02:00
parent ad561c5652
commit 36361c5f86
2 changed files with 10 additions and 9 deletions

View File

@ -1,7 +1,7 @@
component AnimeListItem(viewUser *arn.User, item *arn.AnimeListItem, anime *arn.Anime, user *arn.User)
.anime-list-item-view.mountable(data-api="/api/animelist/" + viewUser.ID + "/field/Items[AnimeID=\"" + anime.ID + "\"]")
h1.anime-list-item-title.mountable= anime.Title.ByUser(user)
.anime-list-item-progress-edit
.anime-list-item-episodes-edit
InputNumberWithButtons("Episodes", float64(item.Episodes), "Episodes", "Number of episodes you watched", "0", arn.EpisodeCountMax(anime.EpisodeCount), "1")
@ -42,5 +42,5 @@ component AnimeListItem(viewUser *arn.User, item *arn.AnimeListItem, anime *arn.
a.anime-list-item-cover.mountable(href=anime.Link(), title="View anime")
img.anime-cover-image.lazy(data-src=anime.ImageLink("medium"), data-webp="true", data-color=anime.AverageColor(), alt=anime.Title.ByUser(user))
RawIcon("arrow-left")
//- RawIcon("arrow-left")

View File

@ -36,13 +36,14 @@
width anime-image-medium-width
height anime-image-medium-height
.raw-icon
font-size 2.5rem
position absolute
left 0
top calc(anime-image-medium-height / 2)
transform translateY(-50%) translateX(-50%)
opacity 0.85
// .raw-icon
// font-size 2.5rem
// position absolute
// left 0
// top calc(anime-image-medium-height / 2)
// transform translateY(-50%) translateX(-50%)
// opacity 0.85
// color rgb(215, 38, 15)
.anime-list-item-rating-edit
horizontal