PrettyJSON icon indicating copy to clipboard operation
PrettyJSON copied to clipboard

CSS also affects other web sites

Open vandelay opened this issue 3 years ago • 1 comments

First, thanks for this extension.

We use a commercial web site which also uses CSS class number and they were appearing in darkorange on my machine as the CSS in this extension overrides the styling on the site.

vandelay avatar Aug 13 '21 05:08 vandelay

Also seeing this when using semantic-ui; I have an icon with class .key.

Your CSS should be namespaced to prevent collisions like this, and ideally (don't know if this is possible with Safari's extension APIs) only active when viewing actual JSON.

Screen Shot 2021-12-15 at 11 47 07

grahamb avatar Dec 15 '21 19:12 grahamb