Skip to content

Commit

Permalink
Fix: Bootstrap 4 with table-sm looked a bit rubbish when collapsed
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanJard committed Aug 9, 2019
1 parent b254734 commit 2e31c93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions css/responsive.bootstrap4.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ $open-button-background: #0275d8 !default;
div.dtr-bs-modal table.table tr:first-child td {
border-top: none;
}

table.dataTable.dtr-inline.collapsed.table-sm > tbody > tr {
> td,
> th {
&:first-child:before {
top: 5px;
}
}
}

0 comments on commit 2e31c93

Please sign in to comment.