Skip to content

Commit

Permalink
style: fix Lookup styles
Browse files Browse the repository at this point in the history
  • Loading branch information
wildergd committed Jul 28, 2023
1 parent a372cdc commit 80659a8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Lookup/styled/chip.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ const StyledChip = attachThemeAttrs(styled(Chip))`
flex: 1 1 auto;
margin: 2px;
background-color: ${props => props.palette.background.main};
width: 0px;
& > span {
min-width: 0px;
flex-basis: 99%;
}
`;

export default StyledChip;
3 changes: 3 additions & 0 deletions src/components/Lookup/styled/chipContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import styled from 'styled-components';
const StyledChipContainer = styled.span`
display: flex;
align-items: center;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
`;

export default StyledChipContainer;

0 comments on commit 80659a8

Please sign in to comment.