Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-switch] Add isBlock style prop #3113

Closed
jeremyfuksa opened this issue Aug 5, 2020 · 2 comments · Fixed by #3122
Closed

[terra-switch] Add isBlock style prop #3113

jeremyfuksa opened this issue Aug 5, 2020 · 2 comments · Fixed by #3122
Assignees
Milestone

Comments

@jeremyfuksa
Copy link
Contributor

Enhancement Request

Description

In the initial build, block styling for the component was missed. Adding this will help the component look right in mobile and small containers.

Additional Context / Screenshots

imgpsh_mobile_save

@supreethmr
Copy link
Contributor

Hi @jeremyfuksa

Need small clarification on switch width when isBlock is true. So does switch should expand to 100% width when isBlock is set..?
Screen Shot 2020-08-07 at 7 51 16 PM
(when label doesn't have enough text to it will expand like above by moving switch tray to corner of container)

@jeremyfuksa
Copy link
Contributor Author

Correct.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants