Skip to content

Commit ec66fe2

Browse files
committed
fix(web): keep PR code controls on one row
1 parent 243ba10 commit ec66fe2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,8 +1031,8 @@ function PullRequestCodeTab({
10311031
* diff API offers it.
10321032
*/
10331033
const toolbar = (
1034-
<div className="flex min-h-10 shrink-0 flex-wrap items-center justify-between gap-x-2 gap-y-1 border-b border-border/60 bg-background px-4 py-1 text-xs text-muted-foreground">
1035-
<div className="flex min-w-0 flex-1 basis-40 items-center gap-3">
1034+
<div className="flex h-10 min-h-10 shrink-0 items-center justify-between gap-2 border-b border-border/60 bg-background px-4 text-xs text-muted-foreground">
1035+
<div className="flex min-w-0 flex-1 items-center gap-3">
10361036
{/* A host that reports no commits has nothing to scope by, and a dropdown whose only
10371037
entry is the scope already showing is a control that does nothing. */}
10381038
{orderedCommits.length > 0 ? (
@@ -1121,7 +1121,7 @@ function PullRequestCodeTab({
11211121
) : null}
11221122
</PullRequestMetaLine>
11231123
</div>
1124-
<div className="ml-auto flex shrink-0 items-center gap-1">
1124+
<div className="flex shrink-0 items-center gap-1">
11251125
{fileKeys.length > 0 ? (
11261126
<Tooltip>
11271127
<TooltipTrigger

0 commit comments

Comments
 (0)