Skip to content

Commit 0ec62e3

Browse files
committed
Polish handling of border radius
1 parent 9f0fbb2 commit 0ec62e3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,14 @@
223223
}
224224

225225

226-
.interactive-session .interactive-response .chat-confirmation-widget2 .chat-confirmation-message-terminal .interactive-result-code-block {
226+
.chat-confirmation-widget2 .chat-confirmation-message-terminal .interactive-result-code-block {
227227
border-radius: 0px;
228228
}
229-
.interactive-session .interactive-response .chat-confirmation-widget2 .chat-confirmation-widget-buttons:not(:has(.chat-confirmation-widget-buttons)) .chat-confirmation-message-terminal .interactive-result-code-block {
230-
border-bottom-left-radius: 4px;
231-
border-bottom-right-radius: 4px;
229+
.chat-confirmation-widget2.hideButtons .chat-confirmation-widget-message,
230+
.chat-confirmation-widget2.hideButtons .chat-confirmation-message-terminal .interactive-result-code-block,
231+
.chat-confirmation-widget2.hideButtons .chat-confirmation-message-terminal:not(:has(.interactive-result-code-block)) {
232+
border-bottom-left-radius: 4px !important;
233+
border-bottom-right-radius: 4px !important;
232234
}
233235

234236
.chat-confirmation-widget2.hideButtons .chat-confirmation-widget-buttons,

0 commit comments

Comments
 (0)