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

margin-bottom of a table isn't set to 0 when table is used inside a collapse component #13375

Closed
jonpasquier opened this issue Apr 18, 2014 · 4 comments

Comments

@jonpasquier
Copy link

When using a table inside a collapse component, the margin-bottom of the table isn't set to 0 (as it is when using a table directly inside a panel) causing a ugly white space to appear below the table.

Reduced test case on JSBin:
http://jsbin.com/koretoje/2/

Workaround
Add the following line to your CSS

.panel .panel-collapse .table { margin-bottom : 0; }
@cvrebert
Copy link
Collaborator

Please make your example into a JS Fiddle.

@cvrebert cvrebert added the css label Apr 18, 2014
@jonpasquier
Copy link
Author

Hi Chris,

I have updated the issue and added a link to a reduced test case.

Thanks!

@cvrebert cvrebert added this to the v3.2.0 milestone Apr 19, 2014
@cvrebert
Copy link
Collaborator

cvrebert commented May 4, 2014

Confirmed.
/cc @mdo

@hnrch02
Copy link
Collaborator

hnrch02 commented May 5, 2014

X-Ref: #13197

@mdo mdo mentioned this issue Jun 8, 2014
@mdo mdo closed this as completed in 5dbfdd4 Jun 8, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants