Bootstrap + Datatables CSS adjustment for pager

Bootstrap + Datatables CSS adjustment for pager

mwhousermwhouser Posts: 14Questions: 1Answers: 0
edited May 2012 in General
Regarding the blogpost http://datatables.net/blog/Twitter_Bootstrap_2

I am not a CSS guy...

Is it possible to adjust the CSS so that the pagination controls are a bit more compact (to mimic bootstrap 'table-condensed' class) ?

When using the above class, the pagination controls seem oversized compared to the rows in the table.

Thanks,
...Matt

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Using Firebug or Inspector is the easy and fast way of finding out what CSS is applied. In this case:

    [code]
    .pagination a {
    line-height: 22px;
    }
    [/code]

    will help you.

    Allan
This discussion has been closed.