fix(web/menu): fix border radius not applying when there is 6 options

This commit is contained in:
Luke
2022-08-05 14:00:44 +02:00
parent 101d94392b
commit 14a04c4b68

View File

@@ -192,7 +192,7 @@ const ListMenu: React.FC = () => {
height="fit-content" height="fit-content"
maxHeight={415} maxHeight={415}
overflow="hidden" overflow="hidden"
borderRadius={menu.items.length < 6 || selected === menu.items.length - 1 ? "md" : undefined} borderRadius={menu.items.length <= 6 || selected === menu.items.length - 1 ? 'md' : undefined}
bg="#141517" bg="#141517"
fontFamily="Nunito" fontFamily="Nunito"
borderTopLeftRadius="none" borderTopLeftRadius="none"