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

responsive thumbnails: how to cure indentation on 2+ rows? #4890

Closed
ghost opened this issue Aug 31, 2012 · 3 comments
Closed

responsive thumbnails: how to cure indentation on 2+ rows? #4890

ghost opened this issue Aug 31, 2012 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Aug 31, 2012

I have the following example: http://jsfiddle.net/Q5dXc/show/

Any idea how I can cure the indentation after the 4th thumbnail?

Here is the source: http://jsfiddle.net/Q5dXc/

Looking at the documentation under the 'more examples' heading, I can see the '2 row' example but I can't make it work without the indentation appearing.

Also please see: http://stackoverflow.com/questions/12214522/twitter-bootstrap-responsive-thumbnails-how-to-cure-indentation-on-second-row

@var-foo
Copy link

var-foo commented Aug 31, 2012

You have to wrap the 2nd row in a row-fluid div. This will cut the left margin off of the first child of the row, thus making your 2 rows line up with eachother.

@mdo
Copy link
Member

mdo commented Sep 1, 2012

For now, this is something you'll have to resolve yourself.

@mdo mdo closed this as completed Sep 1, 2012
@ghost
Copy link
Author

ghost commented Sep 2, 2012

Thanks for the update - This sort of thing also works (but not in IE):

.thumbnails .span4:nth-child(3n+1) {
margin-left:0;
}

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

2 participants