-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Progress indicator]: Add viewBox
attr to svg to allow scaling
#5086
Comments
Beginning with |
@asudoh Thanks for getting back to me! When I search With the expressive theme we currently are applying scss styles when an expressive flag is turned on. For example:
This would change the icon size for the combo-box via scss. We're not tampering with the carbon components too much, mostly the styles and props being passed in but not the actual code of the components. All I need for the above to work properly is for the |
You are right, my suggestion is implementing |
@asudoh Ah gotcha, ok PR coming up! I'll link it to this issue, thanks! |
Summary
We are bumping up icon sizes to 20px by 20px for the expressive theme changes. Ticket here: carbon-design-system/carbon-for-ibm-dotcom#1039
However the some svgs for the progress indicator component don't scale correctly.
Looking at the code it seems that there are no attributes for the
svg
elementsIf the
viewBox
attribute is added to thesvg
elements, that would allow for thecurrent
andincomplete
indicator icons to scale to 20x20.Justification
This is needed for the expressive theme changes by the DDS team.
"Must have" functionality
viewBox
attribute definedSpecific timeline issues / requests
Do you want this work within a specific time period? Is it related to an
upcoming release?
It would be great to have this in during our next sprint (Sprint 20-02) which ends on January 31st.
NB: The Carbon team will try to work with your timeline, but it's not
guaranteed. The earlier you make a request in advance of a desired delivery
date, the better!
The text was updated successfully, but these errors were encountered: