diff --git a/libs/chat/src/lib/compositions/chat-sidebar/chat-sidebar.component.ts b/libs/chat/src/lib/compositions/chat-sidebar/chat-sidebar.component.ts index 96b60b950..238648cbb 100644 --- a/libs/chat/src/lib/compositions/chat-sidebar/chat-sidebar.component.ts +++ b/libs/chat/src/lib/compositions/chat-sidebar/chat-sidebar.component.ts @@ -52,10 +52,21 @@ import { CHAT_HOST_TOKENS } from '../../styles/chat-tokens'; justify-content: center; } .chat-sidebar__close:hover { background: var(--ngaf-chat-surface-alt); color: var(--ngaf-chat-text); } + .chat-sidebar__launcher { + position: fixed; + bottom: 1rem; + right: 1rem; + z-index: 30; + } + /* Hide the launcher when the sidebar is open — the close button on the + panel handles dismissal, and the panel covers the launcher anyway. */ + :host([data-open="true"]) .chat-sidebar__launcher { display: none; } `], template: `
- +
+ +