Skip to content

Commit

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

---------

Co-authored-by: Nitin Koche <[email protected]>
  • Loading branch information
2 people authored and harshit078 committed Oct 14, 2024
1 parent afe55af commit c1c8685
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 c1c8685

Please sign in to comment.