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 104
104
</div >
105
105
<div
106
106
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
+ }"
108
111
>
109
- <div style =" flex : 1 " >
112
+ <div style =" flex : 1 ; width : calc ( 100 % - var ( --execution-detail-panel-width )) " >
110
113
<div class =" p-16-24 flex-between" >
111
114
<h4 class =" ellipsis-1" style =" width : 66% " >
112
115
{{ currentChatName }}
160
163
</AiChat >
161
164
</div >
162
165
</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 >
169
167
<div class =" p-16 flex-between border-b" >
170
168
<h4 class =" medium ellipsis" :title =" rightPanelTitle" >{{ rightPanelTitle }}</h4 >
171
169
@@ -577,7 +575,13 @@ function closeExecutionDetail() {
577
575
max-width : 80% ;
578
576
margin : 0 auto ;
579
577
}
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
+ }
581
585
@media only screen and (max-width : 1000px ) {
582
586
.chat-width {
583
587
max-width : 100% !important ;
You can’t perform that action at this time.
0 commit comments