Skip to content

Commit

Permalink
Clip long namespace names but make sure to keep the full name in the …
Browse files Browse the repository at this point in the history
…title attribute
  • Loading branch information
DingoEatingFuzz committed Jan 22, 2021
1 parent e90d23d commit ee58aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/app/styles/components/dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
.ember-power-select-selected-item,
.dropdown-item {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}

Expand Down
1 change: 1 addition & 0 deletions ui/app/templates/components/gutter-menu.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ee58aea

Please sign in to comment.