I respectfully disagree here. CLS is a web vital and Google does recommend to fix this if it is over 0,1 - so ideally it should be 0.I don't think this is necessarily a bug per se
Hi @Kirby , can you share that code?I respectfully disagree here. CLS is a web vital and Google does recommend to fix this if it is over 0,1 - so ideally it should be 0.
Yes, there is a workaround, but IMHO it is rather unintuitive to go down that route (and does increase CSS).
I've just added a bit of code to automatically store the dimensions in smilie cache and use those when rendering BB code, that's a lot easier than having to enter dimensions for each and every smilie
<img src="/data/assets/smilies/omegacat.png" class="smilie" loading="lazy" alt=":omegacat:" title="omegacat :omegacat:" data-shortname=":omegacat:">
We use essential cookies to make this site work, and optional cookies to enhance your experience.