File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
workbench/contrib/testing/browser Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1281,7 +1281,6 @@ ${formatRule(Codicon.menuSubmenu)}
1281
1281
.monaco-menu .monaco-action-bar.vertical .keybinding {
1282
1282
font-size: inherit;
1283
1283
padding: 0 2em;
1284
- overflow: hidden;
1285
1284
max-height: 100%;
1286
1285
}
1287
1286
Original file line number Diff line number Diff line change @@ -975,7 +975,13 @@ class MultiRunTestDecoration extends RunTestDecoration implements ITestDecoratio
975
975
let testSubmenus : IAction [ ] = testItems . map ( ( { currentLabel, testItem } ) => {
976
976
const actions = this . getTestContextMenuActions ( testItem . test , testItem . resultItem ) ;
977
977
disposable . add ( actions ) ;
978
- return new SubmenuAction ( testItem . test . item . extId , stripIcons ( currentLabel ) , actions . object ) ;
978
+ let label = stripIcons ( currentLabel ) ;
979
+ const lf = label . indexOf ( '\n' ) ;
980
+ if ( lf !== - 1 ) {
981
+ label = label . slice ( 0 , lf ) ;
982
+ }
983
+
984
+ return new SubmenuAction ( testItem . test . item . extId , label , actions . object ) ;
979
985
} ) ;
980
986
981
987
You can’t perform that action at this time.
0 commit comments