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

refactor(label): standardizing margin on bx--label #19

Merged
merged 1 commit into from
Apr 11, 2017

Conversation

tw15egan
Copy link
Collaborator

@tw15egan tw15egan commented Apr 5, 2017

Standardize margin on form items

Most form elements were setting their own margin-top, which was leading to inconsistency. Instead, moved the spacing to bx--label. All inputs should now get 10px spacing from the label, and items that require a legend (checkbox, radio) will receive an additional 6px.

Changed

  • bx--label now handles spacing between the label and the input.
  • Fixed some spacing on checkbox items

Removed

  • Margins from inputs

Closes https://github.ibm.com/Bluemix/carbon-issues/issues/83

@chrisdhanaraj
Copy link
Contributor

👍

Copy link
Contributor

@marijohannessen marijohannessen left a comment

Choose a reason for hiding this comment

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

👍

@iangfleming
Copy link
Contributor

👍

@chrisdhanaraj chrisdhanaraj merged commit 335221c into carbon-design-system:master Apr 11, 2017
designertyler pushed a commit to designertyler/carbon that referenced this pull request Oct 14, 2019
@tw15egan tw15egan deleted the label-margin branch April 28, 2021 18:14
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.

4 participants