Skip to content

fix(style): isolate JSON Snap styles with scoped container#11

Merged
msz-tech merged 1 commit into
developfrom
fix/style-scope
Jul 26, 2025
Merged

fix(style): isolate JSON Snap styles with scoped container#11
msz-tech merged 1 commit into
developfrom
fix/style-scope

Conversation

@msz-tech

Copy link
Copy Markdown
Owner

This PR resolves #10 by scoping all injected styles under the #json-snap-container ID.

  • Prevents global div, span, button overrides
  • Maintains JSON formatting and collapsible view
  • Keeps original dark theme styles only in JSON area

This fix ensures JSON Snap no longer affects unrelated websites (e.g. YouTube, GitHub, etc.)

@msz-tech msz-tech merged commit d26cf77 into develop Jul 26, 2025
1 check passed
@msz-tech msz-tech deleted the fix/style-scope branch July 26, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant