-
Notifications
You must be signed in to change notification settings - Fork 8
fix(ui-library): toggle switch label issues #1234
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
base: develop
Are you sure you want to change the base?
Conversation
* fix(ui-library): remove gap to the left of the checkbox control * fix(ui-library): icon render function revised * fix(ui-library): checkbox component fixed with no bugs * fix(ui-library): eslint bug fixes * fix(ui-library): eslint bug
Signed-off-by: ashk1996 <[email protected]>
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.
Hey @ashk1996 ,
here are my findings:
- it seems like the toggle has some space to the right, which is not needed:
. I think we should remove this.
- Also, where does the width of the label of 180 px come from? [Bug]: ToggleSwitch - Label issus #1158 says it should come from the parent container. For me it seems to now be hardcoded into the component, which should not be the case. We should almost never use hardcoded values. All values should come from tokens.
The a11y issues have been solved, for this ticket I do not have any findings :-)
Hey @ashk1996 , thanks for the changes, the space to the right of the toggle control is gone 😊 For the width of the label container I still have some findings:
I think a short call would help to clarify the behaviour. Could you schedule something for next week? |
Hey @ashk1996 , |
closes #778 and closes #1158