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

@ -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") 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)) 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 width anime-image-medium-width
height anime-image-medium-height height anime-image-medium-height
.raw-icon // .raw-icon
font-size 2.5rem // font-size 2.5rem
position absolute // position absolute
left 0 // left 0
top calc(anime-image-medium-height / 2) // top calc(anime-image-medium-height / 2)
transform translateY(-50%) translateX(-50%) // transform translateY(-50%) translateX(-50%)
opacity 0.85 // opacity 0.85
// color rgb(215, 38, 15)
.anime-list-item-rating-edit .anime-list-item-rating-edit
horizontal horizontal