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.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(help): give the close button a row of its own
Maurice6741e8ca0dfa
diff --git a/client/src/components/Help/HelpPanel.tsx b/client/src/components/Help/HelpPanel.tsxindex 56a975e86..03d948705 100644--- a/client/src/components/Help/HelpPanel.tsx+++ b/client/src/components/Help/HelpPanel.tsx@@ -102,18 +102,20 @@ export default function HelpPanel(): React.ReactElement | null {<HelpNav context={context} currentId={contextId} activeGuideId={!searching && guide ? guide.id : null} /><div className="relative flex flex-col min-h-0 bg-surface" role="main">- <button- type="button"- onClick={closeHelp}- aria-label={t('help.center.close')}- className="absolute top-4 end-4 z-10 w-9 h-9 rounded-full flex items-center justify-center text-content-muted bg-surface-card border border-edge shadow-card hover:text-content hover:bg-surface-hover transition-colors"- >- <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. */}+ {/* The close button sits in a row of its own above the scrolling content rather+ than floating over it, so no card ever runs up against it. */}+ <div className="flex shrink-0 justify-end px-4 pt-4">+ <button+ type="button"+ onClick={closeHelp}+ aria-label={t('help.center.close')}+ className="w-9 h-9 rounded-full flex items-center justify-center text-content-muted bg-surface-card border border-edge shadow-card hover:text-content hover:bg-surface-hover transition-colors"+ >+ <X className="w-4 h-4" />+ </button>+ </div><div ref={scrollRef} className="trek-help-scroll flex-1 min-h-0 overflow-y-auto overscroll-contain">- <div className="max-w-[1080px] mx-auto ps-6 pe-16 sm:ps-10 sm:pe-20 py-8">+ <div className="max-w-[1080px] mx-auto px-6 sm:px-10 pt-4 pb-8">{searching ? (<HelpSearchResults key="search" />) : guide ? (