refactor: use tabs macro for settings page with mobile support

- Replace custom sidebar/icon nav with standard tabs_nav macro
- Add horizontal scroll for mobile (overflow-x-auto)
- Reduce tab spacing on mobile (space-x-4 vs space-x-8 on desktop)
- Content panels now take full width below tabs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-03 13:00:58 +01:00
parent 7d1ec2bdc2
commit 1bc608ef6b
2 changed files with 17 additions and 24 deletions

View File

@@ -12,7 +12,7 @@
{% macro tabs_nav(tab_var='activeTab', class='') %}
<div class="mb-6 {{ class }}">
<div class="border-b border-gray-200 dark:border-gray-700">
<nav class="-mb-px flex space-x-8">
<nav class="-mb-px flex space-x-4 md:space-x-8 overflow-x-auto">
{{ caller() }}
</nav>
</div>