Less repaints

This commit is contained in:
2018-04-20 11:47:24 +02:00
parent 3aabd3003a
commit 1f7e9a3ca8
5 changed files with 20 additions and 8 deletions

View File

@ -9,15 +9,15 @@ mixin grid-cell
height anime-image-medium-height
max-width anime-image-medium-width
max-height anime-image-medium-height
// min-width 90px
// min-height 127px
border-radius ui-element-border-radius
// background-size cover
// background-position 50% 50%
margin 0.5rem
// If text-shadow is enabled, the whole container will repaint.
// We need to disable text-shadow to reduce re-painting.
a
:hover
text-shadow none
mixin grid-text
vertical
width 100%