Skip to content

Commit

Permalink
NEOS-1339: fix max height on transformer select (#2493)
Browse files Browse the repository at this point in the history
  • Loading branch information
evisdrenova authored Aug 19, 2024
1 parent 2123c4c commit 914e104
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function SampleTable(props: Props): ReactElement {
</h2>
</div>
<div>
<p className="font-sm tracking-tight">
<p className="font-xs tracking-tight">
A sample of synthetic data given the inputs above. Returns at most
10 records.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ export default function TransformerSelect(props: Props): ReactElement {
</Button>
</PopoverTrigger>
<PopoverContent
className="w-[350px] p-0"
className="w-[350px] p-0 min-h-[600px]"
avoidCollisions={true} // this prevents the popover from overflowing out of the viewport (meaning there is content the user isn't able to access)
side={side}
>
<Command>
<CommandInput placeholder={'Search...'} />
<div className="max-h-[450px]">
<CommandList>
<div className="min-h-[600px]">
<CommandList className="max-h-[600px]">
<CommandEmpty>No transformers found.</CommandEmpty>
{userDefined.length > 0 && (
<CommandGroup heading="Custom">
Expand Down

0 comments on commit 914e104

Please sign in to comment.