Skip to content

Commit

Permalink
add new helper and apply to menu auth label (#26181)
Browse files Browse the repository at this point in the history
  • Loading branch information
Monkeychip authored Apr 10, 2024
1 parent f6c71dd commit 0445e62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/components/sidebar/user-menu.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<Dropdown.Content>
<div class="popup-menu-content" data-test-user-menu-content>
<div class="box">
<div class="menu-label">
<div class="menu-label overflow-wrap">
{{capitalize this.auth.authData.displayName}}
</div>
<nav class="menu">
Expand Down
4 changes: 4 additions & 0 deletions ui/app/styles/helper-classes/general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
white-space: pre-wrap;
}

.overflow-wrap {
overflow-wrap: break-word;
}

.truncate-second-line {
display: -webkit-box;
-webkit-line-clamp: 2;
Expand Down

0 comments on commit 0445e62

Please sign in to comment.