Skip to content

Commit

Permalink
Add a vertical-middle class for table rows
Browse files Browse the repository at this point in the history
We sometimes want to vertically align table rows to the middle, not to the top as we do by default now.

This new class allows to do so.
  • Loading branch information
tvdeyen committed Nov 29, 2017
1 parent 2116839 commit 1fa77b3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ table {
@extend .table;
border-spacing: 0;

&.sortable td {
&.sortable td,
tr.vertical-middle td,
tr.vertical-middle th {
vertical-align: middle;
}

Expand Down

0 comments on commit 1fa77b3

Please sign in to comment.