Rename CSS classes related to lazy loading
As mentioned in https://docs.gitlab.com/ce/development/fe_guide/performance.html#lazy-loading
Currently, we have the following:
- when an image is set to lazy load. We add the CSS class
lazyto the HTML. - when an image is lazy loaded. We add the CSS class
js-lazy-loadedusing javascript.
I propose, we change it to the following:
- From
lazytowill-lazy-load - From
js-lazy-loadedtolazy-loaded
We should remove the js- prefix because we've started to use it as a reference in our CSS as seen in https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/stylesheets/framework/typography.scss#L24
Edited by 🤖 GitLab Bot 🤖