Skip to content

Commit

Permalink
fix: dropdown styles in right panel break when selected item's name i…
Browse files Browse the repository at this point in the history
…s too long
  • Loading branch information
airslice authored Apr 27, 2022
1 parent 42d7aac commit 9a59938
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/atoms/Select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ const SelectWrapper = styled.div`
const Selected = styled(Text)<{ inactive: boolean }>`
flex: 1;
padding: 3px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`;

const StyledDownArrow = styled(Icon)`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ const StyledPropertyTitleWrapper = styled.div`
const StyledPropertyFieldWrapper = styled.div`
flex: 2;
width: 100%;
min-width: 0;
`;

export default PropertyField;

0 comments on commit 9a59938

Please sign in to comment.