Skip to content

Fix CSS for code in links#196

Merged
mathieu-benoit merged 1 commit into
mainfrom
fix-code-css
Jul 3, 2025
Merged

Fix CSS for code in links#196
mathieu-benoit merged 1 commit into
mainfrom
fix-code-css

Conversation

@TobiasBabin

Copy link
Copy Markdown
Contributor

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.

What is the motivation?

Text rendered as code is currently not legible when it is part of a link, e.g. on the Community page:

image

What does this change do?

The PR introduces a CSS addition that nullifies the background for a a > code situation, causing the text to be visible. Local preview:

image

What is your testing strategy?

I built the site locally and started the Hugo test server. Tested in Chrome and Firefox.

Is this related to any issues?

No.

Have you read the Contributing Guidelines?

Signed-off-by: Tobias Babin <tobias.babin@humanitec.com>

@mathieu-benoit mathieu-benoit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks a lot, LGTM!

@mathieu-benoit mathieu-benoit merged commit 64e5ba1 into main Jul 3, 2025
6 checks passed
@mathieu-benoit mathieu-benoit deleted the fix-code-css branch July 3, 2025 15:15
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