Skip to content

Commit 1276273

Browse files
authored
Merge branch 'main' into aggregationError
2 parents 9e674bb + a3a2076 commit 1276273

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

public/chat_flyout.tsx

+9-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { ChatWindowHeader } from './tabs/chat_window_header';
1212
import { ChatHistoryPage } from './tabs/history/chat_history_page';
1313
import { AgentFrameworkTracesFlyoutBody } from './components/agent_framework_traces_flyout_body';
1414
import { TAB_ID } from './utils/constants';
15+
import { SIDECAR_DOCKED_MODE } from '../../../src/core/public';
1516

1617
interface ChatFlyoutProps {
1718
flyoutVisible: boolean;
@@ -77,12 +78,17 @@ export const ChatFlyout = (props: ChatFlyoutProps) => {
7778

7879
const leftPanelSize = getLeftPanelSize();
7980
const rightPanelSize = getRightPanelSize();
81+
const { sidecarDockedMode } = useChatContext();
8082

8183
return (
8284
<div
83-
className={cs('llm-chat-flyout', {
84-
'llm-chat-fullscreen': props.flyoutFullScreen,
85-
})}
85+
className={cs(
86+
'llm-chat-flyout',
87+
{
88+
'llm-chat-fullscreen': props.flyoutFullScreen,
89+
},
90+
{ 'llm-chatbot-border-top': sidecarDockedMode === SIDECAR_DOCKED_MODE.TAKEOVER }
91+
)}
8692
>
8793
<>
8894
<div className={cs('llm-chat-flyout-header')}>

public/index.scss

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
}
6666
}
6767

68+
.llm-chatbot-border-top {
69+
border-top: 1px solid $ouiBorderColor;
70+
}
71+
6872
.llm-chat-flyout-header {
6973
padding-top: 4px;
7074
}

0 commit comments

Comments
 (0)