Skip to content

Commit

Permalink
table fixed for less problems
Browse files Browse the repository at this point in the history
  • Loading branch information
snide committed Feb 13, 2018
1 parent 9605f20 commit 4ca4d0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/table/_index.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
/**
* 1. Prevent cells from expanding based on content size. This substitutes for table-layout: fixed.
*/
@mixin euiTableCell {
max-width: 20px; /* 1 */
vertical-align: middle;
}

Expand Down
1 change: 1 addition & 0 deletions src/components/table/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@include euiFontSizeS;

width: 100%;
table-layout: fixed;
border: none;
border-collapse: collapse;
background-color: $euiColorEmptyShade;
Expand Down

0 comments on commit 4ca4d0b

Please sign in to comment.