Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Mash707
Copy link
Contributor

@Mash707 Mash707 commented Aug 22, 2025

Fixes #7385

@patternfly-build
Copy link
Collaborator

patternfly-build commented Aug 22, 2025

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

Just one comment, otherwise lgtm!

padding-inline-end: var(--#{$breadcrumb}__link--PaddingInlineEnd); // use a mutable value for alignment control
font-size: inherit;
font-weight: var(--#{$breadcrumb}__link--FontWeight);
font-weight: inherit;
Copy link
Contributor

Choose a reason for hiding this comment

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

Technically this would be breaking - if a user had set --#{$breadcrumb}__link--FontWeight previously to add a custom font-weight here, this change will remove their custom weight. You can change it to below, then add --#{$breadcrumb}__link--FontWeight: initial; in the var list at the top of this stylesheet and that will make the font-weight inherit but also allow a user's customization using that variable to continue to work.

Suggested change
font-weight: inherit;
font-weight: var(--#{$breadcrumb}__link--FontWeight, inherit);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup makes sense.

@Mash707 Mash707 requested a review from mcoker August 28, 2025 19:21
@github-actions
Copy link

This PR has been automatically marked as stale because it has not had activity in the last 60 days.

@github-actions github-actions bot added the Stale label Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug - Breadcrumb - Missing font-weight CSS variable

3 participants