Bootstrap: Add .table-extra-condensed

Created on 15 Jan 2014  路  4Comments  路  Source: twbs/bootstrap

It would be nice to have .table-extra-condensed with padding:2px for very compact tables.

In conjunction with https://github.com/twbs/bootstrap/issues/10987 it could be later named as .table-xs.

css feature

Most helpful comment

@TomHart I was confused about the lack of explanation from @mdo but believe it's because most things in Bootstrap are very large and spaced out, so it might clash too much with everything else. It's also fairly easy to make a css file with:

.table-xtra-condensed > thead > tr > th,
.table-xtra-condensed > tbody > tr > th,
.table-xtra-condensed > tfoot > tr > th,
.table-xtra-condensed > thead > tr > td,
.table-xtra-condensed > tbody > tr > td,
.table-xtra-condensed > tfoot > tr > td {
  padding: 2px;
}

All 4 comments

Interesting.

Not going to happen, sorry.

@mdo Just curious, how come?

@TomHart I was confused about the lack of explanation from @mdo but believe it's because most things in Bootstrap are very large and spaced out, so it might clash too much with everything else. It's also fairly easy to make a css file with:

.table-xtra-condensed > thead > tr > th,
.table-xtra-condensed > tbody > tr > th,
.table-xtra-condensed > tfoot > tr > th,
.table-xtra-condensed > thead > tr > td,
.table-xtra-condensed > tbody > tr > td,
.table-xtra-condensed > tfoot > tr > td {
  padding: 2px;
}
Was this page helpful?
0 / 5 - 0 ratings