File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 104104 </div >
105105 <div
106106 class =" chat-pc__right chat-background"
107- :style =" { backgroundImage: `url(${applicationDetail?.chat_background})` }"
107+ :style =" {
108+ backgroundImage: `url(${applicationDetail?.chat_background})`,
109+ '--execution-detail-panel-width': rightPanelSize + 'px',
110+ }"
108111 >
109- <div style =" flex : 1 " >
112+ <div style =" flex : 1 ; width : calc ( 100 % - var ( --execution-detail-panel-width )) " >
110113 <div class =" p-16-24 flex-between" >
111114 <h4 class =" ellipsis-1" style =" width : 66% " >
112115 {{ currentChatName }}
160163 </AiChat >
161164 </div >
162165 </div >
163- <div
164- class =" execution-detail-panel"
165- :style =" `width: ${rightPanelSize}px`"
166- :resizable =" false"
167- collapsible
168- >
166+ <div class =" execution-detail-panel" :resizable =" false" collapsible >
169167 <div class =" p-16 flex-between border-b" >
170168 <h4 class =" medium ellipsis" :title =" rightPanelTitle" >{{ rightPanelTitle }}</h4 >
171169
@@ -577,7 +575,13 @@ function closeExecutionDetail() {
577575 max-width : 80% ;
578576 margin : 0 auto ;
579577}
580-
578+ .chat-pc__right {
579+ width : calc (100vw - 280px );
580+ --execution-detail-panel-width : 400px ;
581+ .execution-detail-panel {
582+ width : var (--execution-detail-panel-width , 400px );
583+ }
584+ }
581585@media only screen and (max-width : 1000px ) {
582586 .chat-width {
583587 max-width : 100% !important ;
You can’t perform that action at this time.
0 commit comments