File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 21
21
{{ #if this.session.currentUser }}
22
22
<Dropdown data-test-user-menu as |dd|>
23
23
<dd .Trigger local-class =" dropdown-button" data-test-toggle>
24
- <UserAvatar @user ={{ this.session.currentUser }} @size =" small" @sudo ={{ this.session.isSudoEnabled }} local-class =" avatar" data-test-avatar />
24
+ {{ #if this.session.isSudoEnabled }}
25
+ <div local-class =" wizard-hat" >🧙</div >
26
+ {{ /if }}
27
+ <UserAvatar @user ={{ this.session.currentUser }} @size =" small" local-class =" avatar" data-test-avatar />
25
28
{{ this.session.currentUser.name }}
26
29
</dd .Trigger>
27
30
Original file line number Diff line number Diff line change 154
154
margin-right : var (--space-2xs );
155
155
}
156
156
157
+ .wizard-hat {
158
+ margin-right : var (--space-3xs );
159
+ }
160
+
157
161
.current-user-links {
158
162
left : auto;
159
163
right : 0 ;
You can’t perform that action at this time.
0 commit comments