mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 12:22:29 +00:00
Fixed button group spacing of dropdown button (#7409)
#7386 --------- Co-authored-by: Nitin Koche <nitinkoche03@gmail.com>
This commit is contained in:
@@ -27,7 +27,9 @@ const StyledContainer = styled.div`
|
|||||||
margin-right: ${({ theme }) => theme.spacing(2)};
|
margin-right: ${({ theme }) => theme.spacing(2)};
|
||||||
position: relative;
|
position: relative;
|
||||||
`;
|
`;
|
||||||
|
const StyledButton = styled(Button)`
|
||||||
|
padding: ${({ theme }) => theme.spacing(1)};
|
||||||
|
`;
|
||||||
export type UpdateViewButtonGroupProps = {
|
export type UpdateViewButtonGroupProps = {
|
||||||
hotkeyScope: HotkeyScope;
|
hotkeyScope: HotkeyScope;
|
||||||
};
|
};
|
||||||
@@ -99,7 +101,7 @@ export const UpdateViewButtonGroup = ({
|
|||||||
dropdownId={UPDATE_VIEW_BUTTON_DROPDOWN_ID}
|
dropdownId={UPDATE_VIEW_BUTTON_DROPDOWN_ID}
|
||||||
dropdownHotkeyScope={hotkeyScope}
|
dropdownHotkeyScope={hotkeyScope}
|
||||||
clickableComponent={
|
clickableComponent={
|
||||||
<Button
|
<StyledButton
|
||||||
size="small"
|
size="small"
|
||||||
accent="blue"
|
accent="blue"
|
||||||
Icon={IconChevronDown}
|
Icon={IconChevronDown}
|
||||||
|
|||||||
Reference in New Issue
Block a user