Skip to content

Fix light theme styling on refcard code blocks #929

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

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

snehankekre
Copy link
Contributor

@snehankekre snehankekre commented Jan 11, 2024

📚 Context

Among other things, #914 "made <Code> component no longer wrap its children in a <pre>. ". As a result, the styling on code blocks within <RefCard> needs to be updated to remove the rule on <pre>. This styling issue was first reported by @sfc-gh-jrieke.

Revised:

image

Current:

image

💥 Impact

Size:

  • Small
  • Not small

🌐 References

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@sfc-gh-dmatthews sfc-gh-dmatthews merged commit 7d20817 into main Jan 11, 2024
@sfc-gh-dmatthews sfc-gh-dmatthews deleted the fix/styling-refcard-code branch January 11, 2024 14:53
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