Update base components

This commit is contained in:
jeffvli
2022-12-09 19:01:05 -08:00
parent a34be65644
commit e65dd130b8
2 changed files with 7 additions and 0 deletions
@@ -173,8 +173,14 @@ const StyledButton = styled(MantineButton)<StyledButtonProps>`
}
& .mantine-Button-leftIcon {
display: flex;
margin-right: 0.5rem;
}
.mantine-Button-rightIcon {
display: flex;
margin-left: 0.5rem;
}
`;
const ButtonChildWrapper = styled.span<{ $loading?: boolean }>`
@@ -49,6 +49,7 @@ const StyledMenuItem = styled(MantineMenu.Item)<MenuItemProps>`
}
& .mantine-Menu-itemRightSection {
display: flex;
margin-left: 2rem !important;
color: ${({ $isActive }) => ($isActive ? 'var(--primary-color)' : 'var(--dropdown-menu-fg)')};
}