--- title: Responsive Tables layout: nested-component.html ---

Responsive Tables

Tables are not responsive by default. Both of our responsive solutions does have some implications, so we prefer that you choose to use them actively.

Horizontally scrolling tables

Wrap a table in a <div> with .table-responsive and the table itself will keep it's natural width, while the wrapping div will have horizontal scrolling.

First Name Last Name Username Email Role Birthday Status Last login
John Doe jd john.doe@company.com Administrator 21/05/1980 Active 19/11/2014
John Doe jd john.doe@company.com Administrator 21/05/1980 Active 19/11/2014
John Doe jd john.doe@company.com Administrator 21/05/1980 Active 19/11/2014

Collapsing Whitespace tables

Add a .table-collapse to the actual table to have it's paddings and fontsize shrink at small breakpoints.

First Name Last Name Username Email Role Birthday Status Last login
John Doe jd john.doe@company.com Administrator 21/05/1980 Active 19/11/2014
John Doe jd john.doe@company.com Administrator 21/05/1980 Active 19/11/2014
John Doe jd john.doe@company.com Administrator 21/05/1980 Active 19/11/2014