Skip to content

Commit f24d09f

Browse files
authored
testing: fix layout issues for long test labels (microsoft#153838)
Fixes microsoft#152959 Fixes microsoft#152622 Some regressions caused by a PR (adding pre-wrap in an attempt to space icons). Instead use flex gap, and fixup sizing for the actions
1 parent 1de164e commit f24d09f

File tree

1 file changed

+5
-4
lines changed
  • src/vs/workbench/contrib/testing/browser/media

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@
1919
.test-output-peek-tree .test-peek-item .name {
2020
display: flex;
2121
align-items: center;
22-
}
23-
24-
.test-explorer .test-item .label {
25-
white-space: pre-wrap;
22+
flex-grow: 1;
23+
gap: 0.15em;
24+
width: 0;
25+
overflow: hidden;
26+
white-space: nowrap;
2627
}
2728

2829
.test-explorer .test-item,

0 commit comments

Comments
 (0)