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(@clayui/css): Progress Bar sets a min-width on `progress-group-… #4040

Merged
merged 1 commit into from
May 3, 2021

Conversation

pat270
Copy link
Member

@pat270 pat270 commented Apr 30, 2021

…addon` to prevent resizing progress bar when numbers are changed to icons

fix(@clayui/css): Progress Bar adds Sass map $progress-group-addon

fixes #4024

…addon` to prevent resizing progress bar when numbers are changed to icons

fix(@clayui/css): Progress Bar adds Sass map `$progress-group-addon`

fixes liferay#4024
Copy link
Member

@matuzalemsteles matuzalemsteles left a comment

Choose a reason for hiding this comment

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

LGTM!

@pat270 pat270 merged commit 08bc937 into liferay:master May 3, 2021
@jbalsas
Copy link
Contributor

jbalsas commented May 4, 2021

Just sanity-checking here, since the comment says "prevent resizing progress bar when numbers are changed to icons" but the progress bar also changes in size when the number goes from 1 (4%) to 2 digits (10%). Did this fix also addressed that case?

@pat270
Copy link
Member Author

pat270 commented May 4, 2021

@jbalsas Yes that is addressed. There is an issue when the number changes to 3 digits. It's really hard to tell, but would be fixed by setting the min-width to 40px instead of 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.

ClayProgressBar takes dynamic space for the progress value
3 participants