From ebddae3be1010aefa0925049fc1b73f1a31df7ec Mon Sep 17 00:00:00 2001 From: Akos Kitta Date: Mon, 24 Aug 2020 09:35:16 +0200 Subject: [PATCH] GH-8416: Fixed the menu widget layout. Do not break line on spaces. Closes #8416 Signed-off-by: Akos Kitta --- packages/core/src/browser/style/menus.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/src/browser/style/menus.css b/packages/core/src/browser/style/menus.css index d05b1b6c6b38a..40956ccdf4835 100644 --- a/packages/core/src/browser/style/menus.css +++ b/packages/core/src/browser/style/menus.css @@ -49,6 +49,10 @@ line-height: var(--theia-private-menubar-height); } +.p-MenuBar-item .p-MenuBar-itemLabel { + white-space: pre; +} + .p-MenuBar-item.p-mod-active { background: var(--theia-menubar-selectionBackground);