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

add margin between consecutive fields with error #300

Closed
wants to merge 1 commit into from
Closed

add margin between consecutive fields with error #300

wants to merge 1 commit into from

Conversation

scott-stewart
Copy link

When form fields appear consecutively with errors, there is no margin between them. This is caused by a negative top margin added to fields with error (to account for padding), but when they appear consecutively it causes the outer div.clearfix.error containers to touch up to one another with no margin. This fix adds back the margin on the subsequent consecutive fields. Similar to common "p + p" css margin fixes.

@mdo
Copy link
Member

mdo commented Oct 4, 2011

Nice, good catch, but instead of a new selector, I'm just going to ditch the -10px top margin I had in there. No reason for it anymore I think. That stuff is just too convoluted and needs revisiting in 2.0. Added this fix to the dev branch.

Thanks!

@mdo mdo closed this Oct 4, 2011
@scott-stewart
Copy link
Author

Cool - sounds good. Thanks for the update.

DocX pushed a commit to DocX/bootstrap that referenced this pull request Sep 16, 2014
Added kandan as an app that uses bootstrap-sass to the README.md
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.

2 participants