Skip to content

Commit 39b8df7

Browse files
authored
fix jump in terminal headers (#298473)
1 parent a837f16 commit 39b8df7

File tree

1 file changed

+34
-29
lines changed

1 file changed

+34
-29
lines changed

src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -111,45 +111,45 @@
111111

112112
.chat-thinking-tool-wrapper {
113113
.chat-used-context {
114-
margin-bottom: 0px;
115-
margin-left: 4px;
116-
padding-left: 2px;
117-
}
118-
119-
.chat-used-context {
120-
.monaco-button.monaco-text-button {
121-
color: var(--vscode-descriptionForeground);
114+
margin-bottom: 0px;
115+
margin-left: 4px;
116+
padding-left: 2px;
122117

123-
:hover {
124-
color: var(--vscode-foreground);
125-
}
118+
.monaco-button.monaco-text-button {
119+
color: var(--vscode-descriptionForeground);
120+
display: flex;
121+
align-items: center;
126122

127-
.monaco-button:hover .chat-collapsible-hover-chevron {
128-
opacity: 1;
129-
}
123+
:hover {
124+
color: var(--vscode-foreground);
130125
}
131-
}
132126

133-
.chat-used-context:not(.chat-used-context-collapsed) {
134-
.monaco-button.monaco-text-button {
135-
color: var(--vscode-foreground);
127+
.monaco-button:hover .chat-collapsible-hover-chevron {
128+
opacity: 1;
136129
}
137130
}
131+
}
138132

139-
.progress-container,
140-
.chat-confirmation-widget-container {
141-
margin: 0 0 2px 6px;
133+
.chat-used-context:not(.chat-used-context-collapsed) {
134+
.monaco-button.monaco-text-button {
135+
color: var(--vscode-foreground);
142136
}
137+
}
143138

144-
/* todo: ideally not !important, but the competing css has 14 specificity */
145-
.codicon.codicon-check,
146-
.codicon.codicon-loading {
147-
display: none !important;
148-
}
139+
.progress-container,
140+
.chat-confirmation-widget-container {
141+
margin: 0 0 2px 6px;
142+
}
149143

150-
.chat-collapsible-hover-chevron.codicon {
151-
display: inline-flex;
152-
}
144+
/* todo: ideally not !important, but the competing css has 14 specificity */
145+
.codicon.codicon-check,
146+
.codicon.codicon-loading {
147+
display: none !important;
148+
}
149+
150+
.chat-collapsible-hover-chevron.codicon {
151+
display: inline-flex;
152+
}
153153

154154
.show-checkmarks .chat-confirmation-widget-title > .codicon:first-child:not(.chat-collapsible-hover-chevron) {
155155
display: inline-block;
@@ -298,6 +298,11 @@
298298
flex-direction: column;
299299
width: 100%;
300300

301+
.monaco-button.monaco-text-button {
302+
display: flex;
303+
align-items: center;
304+
}
305+
301306
.chat-used-context-list.chat-terminal-thinking-content {
302307
border: none;
303308
padding: 0;

0 commit comments

Comments
 (0)