fix(nav): move borderless help button to tab navigation bar
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 56s
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 56s
This commit is contained in:
1 parent
e6a791bcca
commit
63db1a0f90
1 file changed
+18
-12
+18
-12
@@ -428,21 +428,11 @@ export const App: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</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>
|
</div>
|
||||||
|
|
||||||
{/* Navigation tabs attached to header */}
|
{/* 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">
|
<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">
|
<div className="flex items-stretch overflow-x-auto no-scrollbar">
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
triggerHaptic(10);
|
triggerHaptic(10);
|
||||||
@@ -518,6 +508,22 @@ export const App: React.FC = () => {
|
|||||||
<span>Geteilte Listen</span>
|
<span>Geteilte Listen</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</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>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user