You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking on elements that have multiple classes, the Stylebot naively copy-pastes the class tag and replaces the spaces with dots like, class="clsA clsB" becomes .clsA.clsB
This becomes a problem when there are multiple spaces separating classes in markup. For example, on medium.com, when clicking the background, Stylebot selects it like this:
section.post-page-wrapper..post-page-wrapper-contain
when in fact, it should be like this:
section.post-page-wrapper.post-page-wrapper-contain
The double dots between post-page-wrapper and post-page-wrapper-contain cause the style to fail to apply, requiring the additional effort to manually edit the selector and delete any double periods. Not a biggie for who knows about it, but this is counter-intuitive.
Collapsing the spaces before replacing them with . might be a solution.
The text was updated successfully, but these errors were encountered:
When clicking on elements that have multiple classes, the Stylebot naively copy-pastes the class tag and replaces the spaces with dots like, class="clsA clsB" becomes .clsA.clsB
This becomes a problem when there are multiple spaces separating classes in markup. For example, on medium.com, when clicking the background, Stylebot selects it like this:
section.post-page-wrapper..post-page-wrapper-contain
when in fact, it should be like this:
section.post-page-wrapper.post-page-wrapper-contain
The double dots between post-page-wrapper and post-page-wrapper-contain cause the style to fail to apply, requiring the additional effort to manually edit the selector and delete any double periods. Not a biggie for who knows about it, but this is counter-intuitive.
Collapsing the spaces before replacing them with . might be a solution.
The text was updated successfully, but these errors were encountered: