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

form layout : doc bug on horizontal alignement #586

Closed
elvisbegovic opened this issue Oct 9, 2018 · 2 comments
Closed

form layout : doc bug on horizontal alignement #586

elvisbegovic opened this issue Oct 9, 2018 · 2 comments
Assignees
Labels

Comments

@elvisbegovic
Copy link

Is this by design or legend should take whole width?
image

link : https://www.lightningdesignsystem.com/components/form-element/#Horizontal-Alignment-2

@engai engai self-assigned this Oct 9, 2018
@engai engai added the roadmap label Oct 9, 2018
@engai
Copy link
Contributor

engai commented Oct 9, 2018

Hi @istiti, this is by design with this version of forms. Since we want a max-width set on form element labels in the horizontal variant, the property is being applied to the element you've highlighted above. We understand that this also affects stacked form-elements within a horizontal form, and are working to make improvements.

With 2.8.0, we're making changes that will give users more control of their forms at the element level. This will help prevent a few inconsistencies moving forward.

@kflournoy-sf
Copy link
Contributor

Closing as this is no longer an issue due to updates since then.

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

No branches or pull requests

3 participants