Added ratings tooltip
This commit is contained in:
parent
47c49c960a
commit
bc21b83cff
@ -44,7 +44,7 @@ component AnimeListScrollable(animeListItems []*arn.AnimeListItem, viewUser *arn
|
||||
.anime-list-item-episodes-separator /
|
||||
.anime-list-item-episodes-max= item.Anime().EpisodeCountString()
|
||||
|
||||
.anime-list-item-rating(title="Overall rating")
|
||||
.anime-list-item-rating.tip(aria-label="O: " + utils.FormatRating(item.Rating.Overall) + " | S: " + utils.FormatRating(item.Rating.Story) + " | V: " + utils.FormatRating(item.Rating.Visuals) + " | M: " + utils.FormatRating(item.Rating.Soundtrack))
|
||||
.action(contenteditable=utils.SameUser(user, viewUser), data-field="Rating.Overall", data-type="number", data-trigger="focusout", data-action="save")= utils.FormatRating(item.Rating.Overall)
|
||||
|
||||
//- if item.Status == arn.AnimeListStatusCompleted
|
||||
|
@ -85,8 +85,9 @@
|
||||
horizontal
|
||||
text-align right
|
||||
justify-content flex-end
|
||||
flex-basis 65px
|
||||
flex-basis 20px
|
||||
flex-shrink 1
|
||||
margin-left 45px
|
||||
|
||||
// .rating-label
|
||||
// opacity 0.5
|
||||
|
Loading…
Reference in New Issue
Block a user