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

@ -10,6 +10,12 @@ const soundtrack-margin = 1rem
flex-basis 500px
margin soundtrack-margin 0
// 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
> 500px
.soundtrack
margin soundtrack-margin