twitter/bootstrap — Issue #1446: [2.0-wip] Using grid system inside a .well
Author: simonyeldon
Created: 2012-01-30 22:39:14+00:00
State: open

When using the grid layout inside a ```.well``` the grid does not take into account the additional padding the well provides.

The example that I am trying to do is a form spanning the entire 12 column width which has ```.well``` applied to it. Inside this I want two columns, each spanning 6 columns.

If I do this, the two columns end up stacked vertically as there isn't enough width available inside the ```.well```.

I have been able to fix the issue by subtracting 20px (```@gridGutterWidth```) from the width of the ```input```, and the ```div```. I assume a more stable fix would be to provide a mixin similar to the one that currently generates the span widths.

An example of what I am on about can been seen at http://ghosty.co.uk/labs/well.html

Sorry for not submitting a pull request (again) along with this issue, I am still getting up to speed with how this all works.