diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-14 11:32:18 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-15 09:43:37 +0100 |
commit | b7a7e801acb7cee7a7e0ce572240642daf32a128 (patch) | |
tree | 00f7b4d84df7c4955e4596191a18a7e822ca1989 /client/src/app/menu/menu.component.scss | |
parent | 1f6d57e354ef69b66525ac25684a3d7c59e1db57 (diff) | |
download | PeerTube-b7a7e801acb7cee7a7e0ce572240642daf32a128.tar.gz PeerTube-b7a7e801acb7cee7a7e0ce572240642daf32a128.tar.zst PeerTube-b7a7e801acb7cee7a7e0ce572240642daf32a128.zip |
Fix too long name in menu
Diffstat (limited to 'client/src/app/menu/menu.component.scss')
-rw-r--r-- | client/src/app/menu/menu.component.scss | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index f30b89413..69704674a 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss | |||
@@ -41,8 +41,11 @@ menu { | |||
41 | 41 | ||
42 | .logged-in-info { | 42 | .logged-in-info { |
43 | flex-grow: 1; | 43 | flex-grow: 1; |
44 | white-space: nowrap; | ||
45 | overflow: hidden; | ||
46 | text-overflow: ellipsis; | ||
44 | 47 | ||
45 | .logged-in-username { | 48 | .logged-in-display-name { |
46 | font-size: 16px; | 49 | font-size: 16px; |
47 | font-weight: $font-semibold; | 50 | font-weight: $font-semibold; |
48 | color: var(--menuForegroundColor); | 51 | color: var(--menuForegroundColor); |
@@ -51,7 +54,7 @@ menu { | |||
51 | @include disable-default-a-behaviour; | 54 | @include disable-default-a-behaviour; |
52 | } | 55 | } |
53 | 56 | ||
54 | .logged-in-email { | 57 | .logged-in-username { |
55 | font-size: 13px; | 58 | font-size: 13px; |
56 | color: #C6C6C6; | 59 | color: #C6C6C6; |
57 | white-space: nowrap; | 60 | white-space: nowrap; |