Skip to content

Commit f65921a

Browse files
committed
fix(web): cap the PR commit menu width
1 parent d60a71e commit f65921a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/pullRequest/PullRequestCodeTab.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ function PullRequestCodeTab({
10741074
<span className="truncate">{scopeLabel}</span>
10751075
<ChevronDownIcon className="size-3.5 shrink-0 opacity-70" />
10761076
</DropdownMenuTrigger>
1077-
<DropdownMenuContent align="start">
1077+
<DropdownMenuContent align="start" className="max-w-[min(28rem,calc(100vw-2rem))]">
10781078
<DropdownMenuRadioGroup
10791079
value={commit ?? "all"}
10801080
onValueChange={(value) => onSelectedCommitChange(value === "all" ? null : value)}

0 commit comments

Comments
 (0)