Skip to content

Commit

Permalink
fix(table): table wide vertical text alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean authored Nov 16, 2018
2 parents 52d7502 + 4dcf070 commit 28c557a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/definitions/collections/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
box-shadow: @boxShadow;
border-radius: @borderRadius;
text-align: @textAlign;
vertical-align: @verticalAlign;
color: @color;
border-collapse: @borderCollapse;
border-spacing: @borderSpacing;
Expand All @@ -42,6 +43,11 @@
.ui.table:last-child {
margin-bottom: 0em;
}
.ui.table thead,
.ui.table tbody {
text-align: inherit;
vertical-align: inherit;
}

/*******************************
Parts
Expand Down
1 change: 1 addition & 0 deletions src/themes/default/collections/table.variables
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
@border: @borderWidth solid @borderColor;
@boxShadow: none;
@textAlign: left;
@verticalAlign: middle;

/*--------------
Parts
Expand Down

0 comments on commit 28c557a

Please # to comment.