Fix radius for last item in context menu
This commit is contained in:
parent
c878e36015
commit
a9089859ce
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@ const ContextMenuContainer = styled(motion.div)<Omit<ContextMenuProps, 'children
|
||||||
border-top-left-radius: 10px;
|
border-top-left-radius: 10px;
|
||||||
border-top-right-radius: 10px;
|
border-top-right-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button:last-child {
|
||||||
|
border-bottom-right-radius: 10px;
|
||||||
|
border-bottom-left-radius: 10px;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const StyledContextMenuButton = styled(UnstyledButton)`
|
export const StyledContextMenuButton = styled(UnstyledButton)`
|
||||||
|
|
Reference in a new issue