Skip to content

Commit 5ed1816

Browse files
authored
fix footer detail hover (#260906)
1 parent 69037ec commit 5ed1816

File tree

1 file changed

+10
-12
lines changed
  • src/vs/workbench/contrib/chat/browser/media

1 file changed

+10
-12
lines changed

src/vs/workbench/contrib/chat/browser/media/chat.css

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@
193193
min-height: var(--chat-current-response-min-height);
194194
}
195195

196-
.interactive-item-container.interactive-response:not(.chat-response-loading) .chat-footer-toolbar {
196+
.interactive-item-container.interactive-response:not(.chat-response-loading) .chat-footer-toolbar,
197+
.interactive-item-container.interactive-response:not(.chat-response-loading) .chat-footer-toolbar .chat-footer-details {
197198
/* Complete response only */
198199
display: block;
199200
opacity: 0;
@@ -204,7 +205,8 @@
204205

205206
/* Show toolbar on hover and last response */
206207
.interactive-item-container.interactive-response:not(.chat-response-loading):hover .chat-footer-toolbar,
207-
.interactive-item-container.interactive-response.chat-most-recent-response:not(.chat-response-loading) .chat-footer-toolbar {
208+
.interactive-item-container.interactive-response.chat-most-recent-response:not(.chat-response-loading) .chat-footer-toolbar,
209+
.interactive-item-container.interactive-response:not(.chat-response-loading):hover .chat-footer-toolbar .chat-footer-details {
208210
opacity: 1;
209211
visibility: visible;
210212
}
@@ -226,11 +228,6 @@
226228
margin-left: auto;
227229
}
228230

229-
/* Show details only on hover of the footer toolbar */
230-
.interactive-item-container.interactive-response:not(.chat-response-loading) .chat-footer-toolbar:hover .chat-footer-details {
231-
display: block;
232-
}
233-
234231
.interactive-item-container .chat-footer-details.hidden {
235232
display: none !important;
236233
}
@@ -2458,14 +2455,17 @@ have to be updated for changes to the rules above, or to support more deeply nes
24582455
.chat-todo-list-widget .todo-list-container {
24592456
padding-left: 10px;
24602457
margin-top: 2px;
2461-
max-height: calc(6.5 * 21px); /* 6.5 items to show half-line affordance */
2458+
max-height: calc(6.5 * 21px);
2459+
/* 6.5 items to show half-line affordance */
24622460
overflow-y: auto;
24632461
overscroll-behavior: contain;
24642462
scrollbar-width: thin;
24652463
scrollbar-color: var(--vscode-scrollbarSlider-background) transparent;
24662464
scroll-behavior: smooth;
2467-
scroll-padding-top: 24px; /* Half item height to show partial next item */
2468-
scroll-padding-bottom: 24px; /* Half item height to show partial previous item */
2465+
scroll-padding-top: 24px;
2466+
/* Half item height to show partial next item */
2467+
scroll-padding-bottom: 24px;
2468+
/* Half item height to show partial previous item */
24692469
}
24702470

24712471
/* Modern scrollbar styling for WebKit browsers */
@@ -2532,5 +2532,3 @@ have to be updated for changes to the rules above, or to support more deeply nes
25322532
align-items: flex-start;
25332533
}
25342534
}
2535-
2536-

0 commit comments

Comments
 (0)