Skip to content

Commit

Permalink
removed extra padding on ALL Dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-cedrone-cengage committed Oct 19, 2023
1 parent 867a803 commit 6e77139
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ const StyledCard = styled(Card)<{
`}
`;

const StyledDiv = styled.div`
padding: ${props => props.theme.spaceScale.spacing02} 0;
`;
const StyledDiv = styled.div``;

export const DropdownContent = React.forwardRef<
HTMLDivElement,
Expand Down Expand Up @@ -156,7 +154,6 @@ export const DropdownContent = React.forwardRef<
<StyledDiv
aria-labelledby={context.dropdownButtonId.current}
role={hasItemChildren ? 'menu' : null}
style={hasExpandableItems ? { padding: '0' } : {}}
theme={theme}
>
{children}
Expand Down

0 comments on commit 6e77139

Please sign in to comment.