Skip to content
Snippets Groups Projects
Commit ae092b53 authored by Dennis Tang's avatar Dennis Tang :art:
Browse files

Fix size of emojis of user status in user menu

parent 20168e48
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -544,15 +544,21 @@
display: block;
}
 
.user-status-emoji {
.user-status {
margin-right: 0;
display: block;
vertical-align: text-top;
max-width: 148px;
font-size: 12px;
font-size: $user-status-font-size;
 
gl-emoji {
font-size: $gl-font-size;
font-size: $user-status-font-size;
}
.user-status-emoji {
gl-emoji {
font-size: $gl-font-size;
}
}
}
}
Loading
Loading
Loading
Loading
@@ -386,6 +386,11 @@ $award-emoji-menu-shadow: rgba(0, 0, 0, 0.175);
$award-emoji-positive-add-bg: #fed159;
$award-emoji-positive-add-lines: #bb9c13;
 
/*
* User status/emoji in current user dropdown
*/
$user-status-font-size: 12px;
/*
* Search Box
*/
Loading
Loading
Loading
Loading
@@ -6,8 +6,9 @@
= current_user.name
= current_user.to_reference
- if current_user.status
.user-status-emoji.str-truncated.has-tooltip{ title: current_user.status.message_html, data: { html: 'true', placement: 'bottom' } }
= emoji_icon current_user.status.emoji
.user-status.str-truncated.has-tooltip{ title: current_user.status.message_html, data: { html: 'true', placement: 'bottom' } }
%span.user-status-emoji
= emoji_icon current_user.status.emoji
= current_user.status.message_html.html_safe
%li.divider
- if can?(current_user, :update_user_status, current_user)
Loading
Loading
---
title: Fix size of emojis of user status in user menu
merge_request: 22194
author:
type: fixed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment