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

fix(Shield): fix Shield spacing without QuestionIcon #2171

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

xmicha82
Copy link
Contributor

Adjusted Shield to not render Icon container when question icon is disabled

@xmicha82 xmicha82 requested a review from Hyperkid123 February 19, 2025 09:45
Copy link
Contributor

@AsToNlele AsToNlele left a comment

Choose a reason for hiding this comment

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

Now the icon is smaller, is this expected?

@johnsonm325
Copy link
Contributor

This is not intended. Definitely needs to be fixed. Not sure how it's happening.

Copy link
Contributor

@johnsonm325 johnsonm325 left a comment

Choose a reason for hiding this comment

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

@xmicha82 ahh, this is the issue.

</Icon>
)
) : (
<Icon>
Copy link
Contributor

Choose a reason for hiding this comment

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

Add the size in here as well.
<Icon size={size}>

@johnsonm325 johnsonm325 merged commit a625dec into RedHatInsights:master Feb 19, 2025
8 checks passed
@xmicha82 xmicha82 deleted the shield-spacing branch February 20, 2025 09:32
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.

3 participants