From 393be345b175f0ddab7c94f75714a00775c4936f Mon Sep 17 00:00:00 2001 From: Yuhuai Liu Date: Fri, 27 Dec 2024 23:22:27 -0500 Subject: [PATCH] white space normal on item names --- .../addons-service/configured-addon-edit/styles.scss | 4 ++++ .../addons-service/configured-addon-edit/template.hbs | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/osf-components/addon/components/addons-service/configured-addon-edit/styles.scss b/lib/osf-components/addon/components/addons-service/configured-addon-edit/styles.scss index 15b4c12e353..5930b953b93 100644 --- a/lib/osf-components/addon/components/addons-service/configured-addon-edit/styles.scss +++ b/lib/osf-components/addon/components/addons-service/configured-addon-edit/styles.scss @@ -58,3 +58,7 @@ margin-top: 2rem; float: right; } + +.item-name { + white-space: normal; +} diff --git a/lib/osf-components/addon/components/addons-service/configured-addon-edit/template.hbs b/lib/osf-components/addon/components/addons-service/configured-addon-edit/template.hbs index d04bbd2e15f..9a0f280226c 100644 --- a/lib/osf-components/addon/components/addons-service/configured-addon-edit/template.hbs +++ b/lib/osf-components/addon/components/addons-service/configured-addon-edit/template.hbs @@ -78,11 +78,13 @@ aria-label={{t 'addons.configure.go-to-folder' folderName=folder.itemName}} {{on 'click' (fn fileManager.goToFolder folder)}} > - - {{folder.itemName}} + + + {{folder.itemName}} + {{else}} - + {{folder.itemName}}