Fixed button group spacing of dropdown button (#7409)

#7386

---------

Co-authored-by: Nitin Koche <nitinkoche03@gmail.com>
This commit is contained in:
Prakhar Sharma
2024-10-03 02:41:24 +05:30
committed by GitHub
parent 2e962f8e0e
commit b8e406c13a

View File

@@ -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;
};
@@ -99,7 +101,7 @@ export const UpdateViewButtonGroup = ({
dropdownId={UPDATE_VIEW_BUTTON_DROPDOWN_ID}
dropdownHotkeyScope={hotkeyScope}
clickableComponent={
<Button
<StyledButton
size="small"
accent="blue"
Icon={IconChevronDown}