Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflaburgan <flaburgan@geexxx.fr>2021-10-29 00:41:08 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2021-11-23 02:27:05 +0300
commit37f081959c8ea1aad7bd23481a34d8ca5815bb13 (patch)
treeb189241b7f6c2ea324ce27388bf9353645859f75 /app/assets/stylesheets
parentf69215edf10588843bc1354f03a07bf5ecccddf2 (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.scss13
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;
}