aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-14 13:17:10 +0100
committerChocobozzz <me@florianbigard.com>2019-02-14 13:17:10 +0100
commit98d33a03d3a86aad709e2cd39a4e4d8bac6b7664 (patch)
treed8e1e8d21054fc4d966c009bdd05333a2a6e44cb /client/src/app/menu
parent73471b1a52f242e86364ffb077ea6cadb3b07ae2 (diff)
parent340f31ce96c456942fb01800f31d795e0f355d74 (diff)
downloadPeerTube-98d33a03d3a86aad709e2cd39a4e4d8bac6b7664.tar.gz
PeerTube-98d33a03d3a86aad709e2cd39a4e4d8bac6b7664.tar.zst
PeerTube-98d33a03d3a86aad709e2cd39a4e4d8bac6b7664.zip
Merge branch 'release/v1.2.0'
Diffstat (limited to 'client/src/app/menu')
-rw-r--r--client/src/app/menu/menu.component.html4
-rw-r--r--client/src/app/menu/menu.component.scss7
2 files changed, 7 insertions, 4 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html
index aa5bfa9c9..1e532ec13 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -5,8 +5,8 @@
5 <my-avatar-notification [user]="user"></my-avatar-notification> 5 <my-avatar-notification [user]="user"></my-avatar-notification>
6 6
7 <div class="logged-in-info"> 7 <div class="logged-in-info">
8 <a routerLink="/my-account/settings" class="logged-in-username">{{ user.account?.displayName }}</a> 8 <a routerLink="/my-account/settings" class="logged-in-display-name">{{ user.account?.displayName }}</a>
9 <div class="logged-in-email">{{ user.username }}</div> 9 <div class="logged-in-username">{{ user.username }}</div>
10 </div> 10 </div>
11 11
12 <div class="logged-in-more" ngbDropdown placement="bottom-right"> 12 <div class="logged-in-more" ngbDropdown placement="bottom-right">
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;