Skip to content

Commit

Permalink
🎨 Improve reference popper width responsiveness (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yxwww authored Apr 5, 2022
1 parent 39299ca commit 3cd1c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/renderers/ClickPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export function ClickPopover({
{children}
</Popover.Button>
<Popover.Panel
className="absolute z-30"
className="absolute z-30 sm:max-w-[500px]"
ref={setPopperElement}
style={{ ...styles.popper, width: 500 }}
style={{ ...styles.popper }}
{...attributes.popper}
>
<Transition
Expand Down

0 comments on commit 3cd1c05

Please sign in to comment.