mirror of
https://github.com/OFFIS-ESC/constellation-analyzer
synced 2026-01-27 07:43:41 +00:00
refactor: make header more compact with horizontal layout
Reduces header height by restructuring the layout to display all elements on a single horizontal line instead of stacking vertically. Changes: - Move subtitle to the right of the title with a separator border - Reduce vertical padding from py-4 to py-3 - Decrease logo size from 10x10 to 8x8 - Reduce title size from text-2xl to text-xl This provides more vertical space for the main content area while maintaining all header information in a cleaner, more compact design. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f0862650f4
commit
bd36dd365a
1 changed files with 6 additions and 8 deletions
14
src/App.tsx
14
src/App.tsx
|
|
@ -111,19 +111,17 @@ function AppContent() {
|
|||
<div className="flex flex-col h-screen bg-gray-100">
|
||||
{/* Header */}
|
||||
<header className="bg-gradient-to-r from-blue-600 to-blue-700 text-white shadow-lg">
|
||||
<div className="px-6 py-4">
|
||||
<div className="px-6 py-3">
|
||||
<div className="flex items-center gap-3">
|
||||
<img
|
||||
src="favicon.svg"
|
||||
alt="Constellation Analyzer Logo"
|
||||
className="w-10 h-10"
|
||||
className="w-8 h-8"
|
||||
/>
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold">Constellation Analyzer</h1>
|
||||
<p className="text-sm text-blue-100 mt-1">
|
||||
Visual editor for analyzing actors and their relationships
|
||||
</p>
|
||||
</div>
|
||||
<h1 className="text-xl font-bold">Constellation Analyzer</h1>
|
||||
<span className="text-blue-100 text-sm border-l border-blue-400 pl-3">
|
||||
Visual editor for analyzing actors and their relationships
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
|
|||
Loading…
Reference in a new issue