UI: „Eingeloggt als"-Banner ganz nach oben (über die Topbar)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Thomas Peterson 2026-06-09 20:28:02 +02:00
parent d6370724a0
commit 4281989935

View File

@ -71,6 +71,11 @@ async function stopImpersonation() {
<template>
<div class="shell">
<div v-if="auth.isImpersonating" class="imp-banner">
<span>Eingeloggt als <strong>{{ auth.actingAs?.name }}</strong> ({{ auth.actingAs?.email }})</span>
<button class="btn btn-sm" @click="stopImpersonation">Zurück zur eigenen Ebene</button>
</div>
<header class="topbar">
<div class="topbar__brand">
<TenantBrand size="1.2rem" />
@ -99,11 +104,6 @@ async function stopImpersonation() {
</div>
</header>
<div v-if="auth.isImpersonating" class="imp-banner">
<span>Eingeloggt als <strong>{{ auth.actingAs?.name }}</strong> ({{ auth.actingAs?.email }})</span>
<button class="btn btn-sm" @click="stopImpersonation">Zurück zur eigenen Ebene</button>
</div>
<div class="body">
<aside v-if="leftNav.length" class="sidebar">
<div class="sidebar__label">Firma</div>