Skip to content

Commit

Permalink
ui-manchette: fix manchette toolbar not fixed bottom
Browse files Browse the repository at this point in the history
The PR #728 changed the height of the manchette from a min height to a fixed one.
It introduced a bug where, when having a long list of waypoint, when scrolling bottom, the manchette toolbar wasn't stick to the bottom anymore.
Fix this issue by giving back a min height to the manchette while still keeping its dynamic value introduced in PR #728.

Signed-off-by: SharglutDev <[email protected]>
  • Loading branch information
SharglutDev committed Nov 28, 2024
1 parent 0a102a1 commit d3c1306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui-manchette/src/components/Manchette.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Manchette = ({
height = INITIAL_OP_LIST_HEIGHT,
}: ManchetteProps) => (
<div className="manchette-container">
<div className="bg-white-100 border-r border-grey-30" style={{ height: `${height}px` }}>
<div className="bg-white-100 border-r border-grey-30" style={{ minHeight: `${height}px` }}>
<WaypointList waypoints={waypoints} waypointMenuData={waypointMenuData} />
{children}
</div>
Expand Down

0 comments on commit d3c1306

Please sign in to comment.