Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some default styles and replace with classes #15

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

tillywoodfield
Copy link
Contributor

Remove default styling for a few html elements and give consumers the option to opt-in to them with classes instead, due to a few clashes with Storybook and Sphinx

BREAKING CHANGE: apply `.iati-quote` to existing `blockquote` elements
Having these as default styles was having unexpected consequences for Storybook error messages

BREAKING CHANGE: apply `.iati-code` or `.iati-kbd` to existing `code` or `kbd` elements
Copy link
Contributor

@chrisarridge chrisarridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like two very sensible and helpful changes. All good.

@tillywoodfield tillywoodfield merged commit 6196262 into develop Oct 23, 2024
3 checks passed
@tillywoodfield tillywoodfield deleted the remove-defaults branch October 23, 2024 09:04
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.

2 participants