mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Update base components
This commit is contained in:
@@ -173,8 +173,14 @@ const StyledButton = styled(MantineButton)<StyledButtonProps>`
|
|||||||
}
|
}
|
||||||
|
|
||||||
& .mantine-Button-leftIcon {
|
& .mantine-Button-leftIcon {
|
||||||
|
display: flex;
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mantine-Button-rightIcon {
|
||||||
|
display: flex;
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const ButtonChildWrapper = styled.span<{ $loading?: boolean }>`
|
const ButtonChildWrapper = styled.span<{ $loading?: boolean }>`
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ const StyledMenuItem = styled(MantineMenu.Item)<MenuItemProps>`
|
|||||||
}
|
}
|
||||||
|
|
||||||
& .mantine-Menu-itemRightSection {
|
& .mantine-Menu-itemRightSection {
|
||||||
|
display: flex;
|
||||||
margin-left: 2rem !important;
|
margin-left: 2rem !important;
|
||||||
color: ${({ $isActive }) => ($isActive ? 'var(--primary-color)' : 'var(--dropdown-menu-fg)')};
|
color: ${({ $isActive }) => ($isActive ? 'var(--primary-color)' : 'var(--dropdown-menu-fg)')};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user