[RSS Feed/News] Display:flex combined with inline CSS causing CLS issues on Google PageSpeed for mobile devices

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I am not sure if this is XenForo code or an add-on code causing this...

When doing some Google PageSpeed testing I've noticed it complaining about CLS in mobile view and referencing multiple locations where inline styling is being applied to multiple main classes that represent the page structure like: p-pageWrapper, p-body, p-body-inner, p-body-main, etc.

Actual code view (mobile):
inline-styles.jpg

As you can see all these lines also indicate "flex" at the end, indicating the classes...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom