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

Table not fit to the content #253

Closed
MangelMaxime opened this issue May 15, 2015 · 3 comments
Closed

Table not fit to the content #253

MangelMaxime opened this issue May 15, 2015 · 3 comments

Comments

@MangelMaxime
Copy link

When we create a table, it's actual fit the width of the parent which is pretty ugly.

No fitting content

I have find the solution to make it fit the longer cell like that :

Fitting content

The problem is I can't find where to place the css. Here are little changes to made :

.table {
    /* width: 100%; */ /* old line */
    width: auto;
}

.table>thead>tr>td.active, .table>tbody>tr>td.active, .table>tfoot>tr>td.active, .table>thead>tr>th.active, .table>tbody>tr>th.active, .table>tfoot>tr>th.active, .table>thead>tr.active>td, .table>tbody>tr.active>td, .table>tfoot>tr.active>td, .table>thead>tr.active>th, .table>tbody>tr.active>th, .table>tfoot>tr.active>th {
    white-space: nowrap; /* not present before */
}
@wwebfor wwebfor added the bug label May 22, 2015
@wwebfor wwebfor added this to the 1. Refactor and fix bugs milestone May 22, 2015
@wwwredfish wwwredfish added fixed and removed bug labels Feb 9, 2016
wwwredfish added a commit that referenced this issue Feb 9, 2016
@wwebfor
Copy link
Member

wwebfor commented Feb 12, 2016

We fixed table styles in 0.7.3-RC3. Do you agree that the issue can be closed?

@MangelMaxime
Copy link
Author

I don't have the code of my project anymore sorry...

@wwebfor
Copy link
Member

wwebfor commented Feb 12, 2016

OK.

@wwebfor wwebfor closed this as completed Feb 12, 2016
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

3 participants