Skip to content

Commit

Permalink
fix(table): inherit vertical align in table footer
Browse files Browse the repository at this point in the history
The default vertical alignment of table footer were explicitly set
as middle, which ignores the `top aligned` and `bottom aligned`
variant from table row and unable to align top and bottom within
table footer.

By setting default value as inherit will enable to specify vertical
alignment from table row without needing to specify on each cell.
  • Loading branch information
ko2in authored Jul 18, 2020
1 parent 7cc71fd commit 5a18189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themes/default/collections/table.variables
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
@footerDivider: none;
@footerBackground: @offWhite;
@footerAlign: inherit;
@footerVerticalAlign: middle;
@footerVerticalAlign: inherit;
@footerColor: @textColor;
@footerVerticalPadding: @cellVerticalPadding;
@footerHorizontalPadding: @cellHorizontalPadding;
Expand Down

0 comments on commit 5a18189

Please sign in to comment.