Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(help): keep the help center's content clear of its close button

Mauricec14f179e3915
diff --git a/client/src/components/Help/HelpPanel.tsx b/client/src/components/Help/HelpPanel.tsx
index 4018b1326..56a975e86 100644
--- a/client/src/components/Help/HelpPanel.tsx
+++ b/client/src/components/Help/HelpPanel.tsx
@@ -110,8 +110,10 @@ export default function HelpPanel(): React.ReactElement | null {
>
<X className="w-4 h-4" />
</button>
+ {/* The close button floats over the scroll area, so the content keeps its own
+ gutter clear of it on the end side. */}
<div ref={scrollRef} className="trek-help-scroll flex-1 min-h-0 overflow-y-auto overscroll-contain">
- <div className="max-w-[1080px] mx-auto px-6 sm:px-10 py-8">
+ <div className="max-w-[1080px] mx-auto ps-6 pe-16 sm:ps-10 sm:pe-20 py-8">
{searching ? (
<HelpSearchResults key="search" />
) : guide ? (