it was with max (#408)

This commit is contained in:
Uriel
2022-12-19 16:46:52 -03:00
committed by GitHub
parent 3c2ee9278c
commit 80b24486b3

View File

@@ -79,7 +79,7 @@ export function Dropdown({
{isOpen && (
<div
className={classNames(
'absolute z-10 rounded shadow right-0 min-w-fit',
'absolute z-10 rounded shadow right-0 min-w-max',
direction === 'up' && 'bottom-[45px]',
direction === 'down' && 'top-[45px]',
variant == 'primary' && 'bg-background-60',