fix(nav): move borderless help button to tab navigation bar
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 56s

This commit is contained in:
sandrodach committed 2026-10-25 01:30:10 +02:00
1 parent e6a791bcca
commit 63db1a0f90
1 file changed
+18 -12
+18 -12
View File
@@ -428,21 +428,11 @@ export const App: React.FC = () => {
</div>
)}
</div>
{/* Circled Question Mark Help Button (Rechtsbündig) */}
<button
type="button"
onClick={handleOpenHelp}
className="w-7 h-7 rounded-full border border-border hover:border-strong bg-panel hover:bg-panel-elevated text-muted hover:text-main flex items-center justify-center transition-colors flex-shrink-0"
title="Hilfe & Dokumentation"
>
<HelpCircle className="w-4 h-4 text-muted hover:text-main" />
</button>
</div>
{/* Navigation tabs attached to header */}
<nav className="max-w-6xl mx-auto px-1 sm:px-2 overflow-x-auto no-scrollbar border-t border-border">
<div className="flex items-stretch">
<nav className="max-w-6xl mx-auto px-1 sm:px-2 border-t border-border flex items-stretch justify-between">
<div className="flex items-stretch overflow-x-auto no-scrollbar">
<button
onClick={() => {
triggerHaptic(10);
@@ -518,6 +508,22 @@ export const App: React.FC = () => {
<span>Geteilte Listen</span>
</button>
</div>
{/* Borderless Circled Question Mark Help Button in Tab Bar */}
<div className="flex items-center pr-2 flex-shrink-0">
<button
type="button"
onClick={handleOpenHelp}
className={`p-1.5 transition-colors cursor-pointer rounded-full ${
activeTab === 'help'
? 'text-accent'
: 'text-muted hover:text-main'
}`}
title="Hilfe & Dokumentation"
>
<HelpCircle className="w-4 h-4" />
</button>
</div>
</nav>
</header>