Skip to content

Commit

Permalink
Fixed button group spacing of dropdown button (#7409)
Browse files Browse the repository at this point in the history
#7386

---------

Co-authored-by: Nitin Koche <[email protected]>
  • Loading branch information
prakhar1535 and ehconitin authored Oct 2, 2024
1 parent 2e962f8 commit b8e406c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const StyledContainer = styled.div`
margin-right: ${({ theme }) => theme.spacing(2)};
position: relative;
`;

const StyledButton = styled(Button)`
padding: ${({ theme }) => theme.spacing(1)};
`;
export type UpdateViewButtonGroupProps = {
hotkeyScope: HotkeyScope;
};
Expand Down Expand Up @@ -99,7 +101,7 @@ export const UpdateViewButtonGroup = ({
dropdownId={UPDATE_VIEW_BUTTON_DROPDOWN_ID}
dropdownHotkeyScope={hotkeyScope}
clickableComponent={
<Button
<StyledButton
size="small"
accent="blue"
Icon={IconChevronDown}
Expand Down

0 comments on commit b8e406c

Please sign in to comment.