Skip to content

Instantly share code, notes, and snippets.

@tahmid-ul
Created August 6, 2021 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tahmid-ul/e638c31ca1599d6b5a7653f168f27191 to your computer and use it in GitHub Desktop.
Save tahmid-ul/e638c31ca1599d6b5a7653f168f27191 to your computer and use it in GitHub Desktop.
@media (max-width: 1024px) {
table.ff_flexible_table tbody tr {
display: block;
background: #fff;
position: relative;
border-bottom: 1px solid #ced4da;
border-top: 1px solid #ced4da;
border-color: #ced4da;
border-style: solid;
border-width: 2px 1px 4px;
margin: 16px 0 10px;
}
thead {
position: absolute;
top: -9999px;
left: -9999px;
}
table.ff_flexible_table.ff-checkable-grids {
border: 0;
}
.ff-checkable-grids tbody tr td {
text-align: left!important;
}
table.ff_flexible_table.ff-checkable-grids tbody tr td:after {
padding-left: 10px;
content: attr(data-label);
letter-spacing: .5pt;
white-space: nowrap;
display: inline-block;
}
table.ff_flexible_table tbody tr td {
display: block;
margin-left: 8px;
margin-right: 8px;
}
table.ff_flexible_table.ff-checkable-grids tbody tr td.ff_grid_header {
background-color: #eee!important;
margin: 0;
}
table.ff_flexible_table.ff-checkable-grids tbody tr>td {
background: #fff!important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment