File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -419,7 +419,8 @@ export class ChatListItemRenderer extends Disposable implements ITreeRenderer<Ch
419
419
}
420
420
} ) ) ;
421
421
422
- const footerDetailsContainer = dom . append ( rowContainer , $ ( '.chat-footer-details' ) ) ;
422
+ // Insert the details container into the toolbar's internal element structure
423
+ const footerDetailsContainer = dom . append ( footerToolbar . getElement ( ) , $ ( '.chat-footer-details' ) ) ;
423
424
424
425
const checkpointRestoreContainer = dom . append ( rowContainer , $ ( '.checkpoint-restore-container' ) ) ;
425
426
const codiconRestoreContainer = dom . append ( checkpointRestoreContainer , $ ( '.codicon-container' ) ) ;
Original file line number Diff line number Diff line change 204
204
visibility : visible;
205
205
}
206
206
207
+ /* Style the internal toolbar element to use flexbox */
208
+ .interactive-item-container .chat-footer-toolbar .monaco-toolbar {
209
+ display : flex;
210
+ justify-content : space-between;
211
+ align-items : center;
212
+ }
213
+
207
214
.interactive-item-container .chat-footer-details {
208
- display : block ;
209
- padding : 4 px 0 2 px 0 ;
215
+ display : none ;
216
+ padding : 0 ;
210
217
font-size : 11px ;
211
218
opacity : 0.7 ;
212
219
color : var (--vscode-descriptionForeground );
213
220
line-height : 16px ;
221
+ margin-left : auto;
222
+ }
223
+
224
+ /* Show details only on hover of the footer toolbar */
225
+ .interactive-item-container .interactive-response : not (.chat-response-loading ) .chat-footer-toolbar : hover .chat-footer-details {
226
+ display : block;
214
227
}
215
228
216
229
.interactive-item-container .chat-footer-details .hidden {
217
- display : none;
230
+ display : none !important ;
218
231
}
219
232
220
233
.interactive-item-container .value {
You can’t perform that action at this time.
0 commit comments