diff --git a/public/pulse-logo.png b/public/pulse-logo.png index 6d2a094..206606b 100644 Binary files a/public/pulse-logo.png and b/public/pulse-logo.png differ diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index 953efa6..bd77a7f 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -16,7 +16,8 @@ export const Header: React.FC = ({ title, subtitle, onToggleSidebar const isDark = theme === 'dark'; return ( -
+ /* Feste Hoehe (--app-bar-height), damit die Seitenleiste bündig anschließt. */ +
{isMobile ? ( ) : ( diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index 719ac0f..c394917 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -56,7 +56,9 @@ export const Sidebar: React.FC = ({ current, onNavigate, collapsed > diff --git a/src/index.css b/src/index.css index 1a2fff0..67f1d31 100644 --- a/src/index.css +++ b/src/index.css @@ -998,6 +998,15 @@ html.theme-aura.dark { } @layer base { + :root { + /* + * Hoehe der oberen Leiste. Die Logo-Zeile der Seitenleiste nutzt denselben + * Wert, damit die Trennlinie auf einer Hoehe liegt - sonst haengt sie schief, + * sobald das Logo oder der Titel ihre Groesse aendern. + */ + --app-bar-height: 4.5rem; + } + html, body { height: 100%;