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(ui5-icon): visualize the icons properly in Safari #5871

Merged
merged 1 commit into from
Oct 3, 2022
Merged

Conversation

niyap
Copy link
Contributor

@niyap niyap commented Sep 30, 2022

In Safari, the svg does not occupy 100% of the Icon's height and that causes the issue. The svg needs to take full width and height of the root in order to be visualised correctly. Setting the width and height of the svg to 100%, I tested many different samples and components that use ui5-icon and I did not find any side effects from the change. Something more, the ui5-icon has a predefined width and height of 1rem, so that has to prevent unexpected changes in the svg size.

FIXES: #5842

Copy link
Member

@ilhan007 ilhan007 left a comment

Choose a reason for hiding this comment

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

Looks good to me + 1

@niyap niyap merged commit 3f255d9 into main Oct 3, 2022
@niyap niyap deleted the safariicons branch October 3, 2022 10:08
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.

SF_ACC_RatingIndicator: Cannot display in Safari browser
3 participants