Skip to content

Commit 777c2ac

Browse files
authored
testing: fix vertical centering of component in the call stack view (microsoft#227155)
![](https://memes.peet.io/img/24-08-4e5018a2-76fe-424b-afbe-a107f119d811.png)
1 parent a6730be commit 777c2ac

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/vs/workbench/contrib/debug/browser/callStackWidget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export class CallStackWidget extends Disposable {
144144
multipleSelectionSupport: false,
145145
mouseSupport: false,
146146
keyboardSupport: false,
147+
setRowLineHeight: false,
147148
accessibilityProvider: instantiationService.createInstance(StackAccessibilityProvider),
148149
}
149150
) as WorkbenchList<ListItem>);

src/vs/workbench/contrib/debug/browser/media/callStackWidget.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
&[role="link"] {
2525
cursor: pointer;
2626
}
27+
28+
.monaco-icon-label::before {
29+
height: auto;
30+
}
2731
}
2832

2933
&.collapsed {
@@ -39,6 +43,7 @@
3943
.collapse-button {
4044
width: 16px;
4145
min-height: 1px; /* show even if empty */
46+
line-height: 0;
4247

4348
a {
4449
cursor: pointer;
@@ -56,7 +61,6 @@
5661
.multiCallStackWidget {
5762
.multiCallStackFrameContainer {
5863
background: none !important;
59-
line-height: inherit !important;
6064
}
6165
}
6266

0 commit comments

Comments
 (0)