Skip to content

Commit

Permalink
Merge pull request #296 from NIAEFEUP/fix/random-fill-scroll
Browse files Browse the repository at this point in the history
fix: random fill scroll
  • Loading branch information
tomaspalma authored Sep 12, 2024
2 parents 3055e8b + f6ba707 commit d5be22c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const RandomFill = ({ className }: Props) => {
return (
<TooltipProvider>
<Tooltip>
<TooltipTrigger>
<TooltipTrigger asChild>
<Button
onClick={applyRandomSchedule}
variant="icon"
Expand All @@ -269,8 +269,8 @@ const RandomFill = ({ className }: Props) => {
<BoltIcon className="h-5 w-5" />
</Button>
</TooltipTrigger>
<TooltipContent side="bottom" >
<ScrollArea className="max-h-fit rounded px-3 w-full">
<TooltipContent side="bottom" asChild>
<ScrollArea className="max-h-72 rounded px-3 w-full overflow-y-auto">
<div className="p-1">Preenchimento aleatório</div>
<Separator />
{Array.from(new Set(classesCombinations.map((class_info) => class_info.class_info.name))).map((key) => (
Expand Down

0 comments on commit d5be22c

Please sign in to comment.