testing: fix layout issues for long test labels (#153838)

Fixes https://github.com/microsoft/vscode/issues/152959
Fixes https://github.com/microsoft/vscode/issues/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
This commit is contained in:
Connor Peet
2022-06-30 13:02:35 -04:00
committed by GitHub
parent 1de164e8ff
commit f24d09f05a
@@ -19,10 +19,11 @@
.test-output-peek-tree .test-peek-item .name {
display: flex;
align-items: center;
}
.test-explorer .test-item .label {
white-space: pre-wrap;
flex-grow: 1;
gap: 0.15em;
width: 0;
overflow: hidden;
white-space: nowrap;
}
.test-explorer .test-item,