-
Notifications
You must be signed in to change notification settings - Fork 159
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(footer): ensure IBM logo icon is visible #4226
Conversation
Fixes the rendering issue of IBM logo icon in footer by fixing wrong `width` and `height` attributes. Also fixes wrong content in the `<title>` attribute in corresponding SVG, by avoiding to bake it in the `lit-html` SVG template for the IBM logo icon. The approach is taken because the `<title>` content is not the design asset, and may have to be translated in future. Due to such reason, omitted some other attributes from the `lit-html` SVG template for the IBM logo icon, too. Refs carbon-design-system#4224.
Deploy preview created for package Built with commit: ec96cf4b792c58684b21fa7e98d8aebde0eceb61 |
Deploy preview created for package Built with commit: ec96cf4b792c58684b21fa7e98d8aebde0eceb61 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good thanks @asudoh!
@asudoh Looks like the only thing is the snapshot is outdated. |
### Related Ticket(s) Refs carbon-design-system#4224. ### Description Fixes the rendering issue of IBM logo icon in footer by fixing wrong `width` and `height` attributes. Also fixes wrong content in the `<title>` attribute in corresponding SVG, by avoiding to bake it in the `lit-html` SVG template for the IBM logo icon. The approach is taken because the `<title>` content is not the design asset, and may have to be translated in future. Due to such reason, omitted some other attributes from the `lit-html` SVG template for the IBM logo icon, too. ### Changelog **Changed** - Fixes to IBM logo icon: - Add right `width` and `height` attributes - Omit `<title>` and some attributes from `lit-html` SVG template
Related Ticket(s)
Refs #4224.
Description
Fixes the rendering issue of IBM logo icon in footer by fixing wrong
width
andheight
attributes.Also fixes wrong content in the
<title>
attribute in corresponding SVG, by avoiding to bake it in thelit-html
SVG template for the IBM logo icon. The approach is taken because the<title>
content is not the design asset, and may have to be translated in future. Due to such reason, omitted some other attributes from thelit-html
SVG template for the IBM logo icon, too.Changelog
Changed
width
andheight
attributes<title>
and some attributes fromlit-html
SVG template