File tree 4 files changed +20
-9
lines changed
assets/stylesheets/framework
4 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 530
530
531
531
.header-user {
532
532
& .show .dropdown-menu {
533
- max-height : 323px ;
534
533
margin-top : 4px ;
535
534
color : $gl-text-color ;
536
535
left : auto ;
542
541
display : block ;
543
542
}
544
543
545
- .user-status-emoji {
544
+ .user-status {
546
545
margin-right : 0 ;
547
- display : block ;
548
- vertical-align : text-top ;
549
546
max-width : 240px ;
550
- font-size : 12 px ;
547
+ font-size : $gl-font-size-small ;
551
548
552
549
gl-emoji {
553
- font-size : $gl-font-size ;
550
+ font-size : $gl-font-size-small ;
551
+ }
552
+
553
+ .user-status-emoji {
554
+ gl-emoji {
555
+ font-size : $gl-font-size ;
556
+ }
554
557
}
555
558
}
556
559
}
Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ $well-light-text-color: #5b6169;
194
194
* Text
195
195
*/
196
196
$gl-font-size : 14px ;
197
+ $gl-font-size-small : 12px ;
197
198
$gl-font-weight-normal : 400 ;
198
199
$gl-font-weight-bold : 600 ;
199
200
$gl-text-color : #2e2e2e ;
Original file line number Diff line number Diff line change 6
6
= current_user.name
7
7
= current_user.to_reference
8
8
- if current_user.status
9
- .user-status-emoji.str-truncated.has-tooltip { title: current_user.status.message_html, data: { html: 'true', placement: 'bottom' } }
10
- = emoji_icon current_user.status.emoji
11
- = current_user.status.message_html.html_safe
9
+ .user-status.d-flex.align-items-center.prepend-top-2.has-tooltip { title: current_user.status.message_html, data: { html: 'true', placement: 'bottom' } }
10
+ %span .user-status-emoji.d-flex.align-items-center
11
+ = emoji_icon current_user.status.emoji
12
+ %span .user-status-message.str-truncated
13
+ = current_user.status.message_html.html_safe
12
14
%li .divider
13
15
- if can?(current_user, :update_user_status, current_user)
14
16
%li
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Fix size of emojis of user status in user menu
3
+ merge_request : 22194
4
+ author :
5
+ type : fixed
You can’t perform that action at this time.
0 commit comments