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

UI: Fix brandImage visibility for unsized SVGs #13370

Closed
wants to merge 1 commit into from

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Dec 3, 2020

Issue: #13313

What I did

This restores the original width: 100% on the anchor tag, so that it won't collapse when it contains an unsized SVG. Unfortunately this means the link will be wider than the actual image, but this is a tradeoff.

How to test

  • Is this testable with Jest or Chromatic screenshots? Yes, I added some.
  • Does this need a new example in the kitchen sink apps? No
  • Does this need an update to the documentation? No

If your answer is yes to any of these, please make sure to include it in your PR.

@ghengeveld
Copy link
Member Author

Closing this in favor of #13355

@ghengeveld ghengeveld closed this Dec 3, 2020
@stof stof deleted the 13313-custom-logo branch May 25, 2022 09:37
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.

None yet

2 participants