xwp / stream

🗄️ Stream plugin for WordPress

Home Page:https://wordpress.org/plugins/stream/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Space before wp_stream_screen class

lukecarbis opened this issue · comments

I first noticed this when I saw that the date filter was not wide enough to display it's options without wrapping:
schermata 2014-05-22 alle 08 40 30 pm

Then I noticed some other strange styles in Stream Reports:
schermata 2014-05-22 alle 09 02 52 pm

Then I realised that this was only happening when Jetpack was enabled. Looking into this further, I realised that when Jetpack adds it's body class (i.e. jetpack-disconnected) it does so without adding a space at the end.

This resulted in a body class that looked like this: jetpack-disconnectedwp_stream_screen

We should add a space before our body class to prevent this from happening.