File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import { ChatWindowHeader } from './tabs/chat_window_header';
12
12
import { ChatHistoryPage } from './tabs/history/chat_history_page' ;
13
13
import { AgentFrameworkTracesFlyoutBody } from './components/agent_framework_traces_flyout_body' ;
14
14
import { TAB_ID } from './utils/constants' ;
15
+ import { SIDECAR_DOCKED_MODE } from '../../../src/core/public' ;
15
16
16
17
interface ChatFlyoutProps {
17
18
flyoutVisible : boolean ;
@@ -77,12 +78,17 @@ export const ChatFlyout = (props: ChatFlyoutProps) => {
77
78
78
79
const leftPanelSize = getLeftPanelSize ( ) ;
79
80
const rightPanelSize = getRightPanelSize ( ) ;
81
+ const { sidecarDockedMode } = useChatContext ( ) ;
80
82
81
83
return (
82
84
< 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
+ ) }
86
92
>
87
93
< >
88
94
< div className = { cs ( 'llm-chat-flyout-header' ) } >
Original file line number Diff line number Diff line change 65
65
}
66
66
}
67
67
68
+ .llm-chatbot-border-top {
69
+ border-top : 1px solid $ouiBorderColor ;
70
+ }
71
+
68
72
.llm-chat-flyout-header {
69
73
padding-top : 4px ;
70
74
}
You can’t perform that action at this time.
0 commit comments