Skip to content

Commit e118983

Browse files
committed
fix(web): center the Connections map legend
1 parent a3323d4 commit e118983

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/settings/EnvironmentsMap.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ function FleetCanvas({
10441044
)}
10451045
</div>
10461046
{/* Below the canvas, not over it: nothing on the map can end up under the controls. */}
1047-
<div className="flex items-end justify-between gap-3 bg-background/50 px-3 pb-2">
1047+
<div className="flex items-center justify-between gap-3 bg-background/50 px-3 pb-2">
10481048
<FleetLegend twoWay={fleetTwoWayLinks(graph).size > 0} />
10491049
<div className="flex shrink-0 items-center gap-1 rounded-lg border border-border/60 bg-popover/90 p-0.5 shadow-xs/5">
10501050
<Button
@@ -1094,7 +1094,7 @@ function FleetLegend({ twoWay }: { readonly twoWay: boolean }) {
10941094
return (
10951095
<ul
10961096
aria-label={gt("How to read the lines")}
1097-
className="flex min-w-0 items-center gap-x-3 overflow-clip pb-1 text-2xs whitespace-nowrap text-muted-foreground"
1097+
className="flex min-w-0 items-center gap-x-3 overflow-clip text-2xs whitespace-nowrap text-muted-foreground"
10981098
>
10991099
<li className="flex items-center gap-1.5">
11001100
{sample("in-use")}

0 commit comments

Comments
 (0)