While fixing compatibility with other plugins, I realised that the rules written in CSS are hugely more performant than the JS counterpart and so moved them over. Now there should be no weird layout flash when loading new videos .
Additional (side) effect: the grid layout is enabled on all pages (homepage, subs page, channel video list).
In #108 I plan to also add SCSS support to tame the selectors.
Should fix #153, #157 and #154.
While fixing compatibility with other plugins, I realised that the rules written in CSS are hugely more performant than the JS counterpart and so moved them over. Now there should be no weird layout flash when loading new videos .
Additional (side) effect: the grid layout is enabled on all pages (homepage, subs page, channel video list).
In #108 I plan to also add SCSS support to tame the selectors.