Clip long namespace names but make sure to keep the full name in the title attribute

This commit is contained in:
Michael Lange 2021-01-22 12:38:17 -08:00
parent 875de74503
commit 886b1b4384
2 changed files with 2 additions and 0 deletions

View file

@ -122,6 +122,7 @@
.ember-power-select-selected-item,
.dropdown-item {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}

View file

@ -36,6 +36,7 @@
@onChange={{action this.gotoJobsForNamespace}}
@tagName="div"
@class="namespace-switcher"
title={{this.system.activeNamespace.name}}
as |namespace|>
<span class="ember-power-select-prefix">Namespace: </span>{{namespace.name}}
</PowerSelect>