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

feat(ui5-rating-indicator): implement small icons for readonly and disabled #5233

Merged
merged 10 commits into from
May 25, 2022

Conversation

ivoplashkov
Copy link
Member

No description provided.

Copy link
Contributor

@elenastoyanovaa elenastoyanovaa left a comment

Choose a reason for hiding this comment

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

Screenshot 2022-05-19 at 15 24 52
The big star is somehow misaligned. It is not aligned in the middle. Perhaps it is an ui5-icon issue, but I saw that we also have some additional stylings for the icon. You could ignore this comment, as it has nothing to do with your change (I think) but I wanted to make you aware of this issue as you previously implemented the horizon theme for the rating indicator.

:root {
--_ui5_rating_indicator_border_radius: 0.25rem;
--_ui5_rating_indicator_readonly_item_height: 0.75em;
--_ui5_rating_indicator_readonly_item_width: 0.75em;
--_ui5_rating_indicator_readonly_item_spacing: 3px 3px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please use rem instead for the spacing in order to be consistent and aligned with the spec?

Copy link
Member Author

Choose a reason for hiding this comment

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

I did it on purpose, because 0.188rem is hard to guess, but can change it if you insist.

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually it is 0.1875rem and it is widely used in this repo for setting sizes: https://github.com/SAP/ui5-webcomponents/search?q=0.1875rem

The same applies for 0.125rem (2px).

@ivoplashkov ivoplashkov merged commit 405a598 into master May 25, 2022
@ilhan007 ilhan007 deleted the ri-small-icons branch June 2, 2022 19:38
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.

2 participants