Skip to content

Commit

Permalink
Merge branch 'main' into hide-secondary-elements-select
Browse files Browse the repository at this point in the history
  • Loading branch information
vineethasok authored Sep 28, 2023
2 parents 583d816 + 95af900 commit db42115
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Select/common/SelectStyled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ export const SearchClose = styled.button<{ $showClose: boolean }>`
visibility: ${({ $showClose }) => ($showClose ? "visible" : "hidden")};
`;

/*
Added the max-height with calc as the content should always be fit inside SelectPopoverContent
SelectPopoverContent has hardcoded padding and thats why we are using 1 rem instead of tokens
This makes sure that the content is always visible with the scrolling
*/
export const SelectList = styled.div`
display: flex;
flex-direction: column;
Expand Down

0 comments on commit db42115

Please sign in to comment.