diff options
author | flaburgan <flaburgan@geexxx.fr> | 2021-10-29 00:41:08 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2021-11-23 02:27:05 +0300 |
commit | 37f081959c8ea1aad7bd23481a34d8ca5815bb13 (patch) | |
tree | b189241b7f6c2ea324ce27388bf9353645859f75 /app/assets/stylesheets | |
parent | f69215edf10588843bc1354f03a07bf5ecccddf2 (diff) |
Add a max-width to user name in the header, fixes #7676
closes #8313
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/header.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/stylesheets/header.scss b/app/assets/stylesheets/header.scss index 55fe8f924..c3285f99f 100644 --- a/app/assets/stylesheets/header.scss +++ b/app/assets/stylesheets/header.scss @@ -119,6 +119,19 @@ } } + .dropdown-toggle { + align-items: center; + display: flex; + + .user-name { + margin-right: 3px; + max-width: 250px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + } + .user-menu-dropdown { padding: 0; } |