Skip to content

Commit

Permalink
fix(table): fix text cell white space wrap
Browse files Browse the repository at this point in the history
This fixes white space wrap to no wrap so that the text is getting correctly shortend.
  • Loading branch information
Poltergeist authored and juliangieseke committed Jul 23, 2018
1 parent 08de0d2 commit 04feeb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/table/components/TextCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ import styled from "react-emotion";
export default styled(Cell)`
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
`;
1 change: 1 addition & 0 deletions packages/table/tests/__snapshots__/Cell.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ exports[`TextCell renders correctly 1`] = `
padding: 7px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
<div
Expand Down

0 comments on commit 04feeb1

Please sign in to comment.