Skip to content

Commit

Permalink
fix: title breaking on small width devices on multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
marianzburlea committed Nov 18, 2019
1 parent 249b397 commit 0dcbdd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/component/_dumb/header-title/header-title.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export const StyledTitle = styled.h1`
margin: 0;
font-size: ${({ fontSize }) => fontSize};
color: white;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
`;

export const DynamicStyledTitle = wrapTitle(StyledTitle);

0 comments on commit 0dcbdd8

Please sign in to comment.