Skip to content

Commit

Permalink
KAS-2494 follow-up, new css for avatar, size regular does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
ValenberghsSven committed May 12, 2021
1 parent 188f3a7 commit 93b5c8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/m-header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
>
<WebComponents::AuDropdown>
<WebComponents::AuDropdown::Item @textOnly={{true}}>
<WebComponents::AuAvatar @icon="user" @size="regular" @name="{{this.getFullUserName}}">
<WebComponents::AuAvatar @icon="user" @name="{{this.getFullUserName}}">
<p>{{this.getFullUserName}}</p>
<p class="auk-u-muted auk-u-text-small">{{this.currentSession.userRole}}</p>
</WebComponents::AuAvatar>
Expand Down
4 changes: 2 additions & 2 deletions app/components/web-components/au-avatar/au-avatar-visual.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="auk-avatar auk-avatar--default {{this.type}} {{this.size}}" aria-label={{if @icon this.name}} role={{if @icon "img"}} ...attributes>
<div class="auk-avatar {{this.type}} {{this.size}}" aria-label={{if @icon this.name}} role={{if @icon "img"}} ...attributes>
{{#if @icon}}
<WebComponents::AuIcon class="auk-icon--default" @name={{@icon}} @size={{@size}}/>
<WebComponents::AuIcon @name={{@icon}} @size={{@size}}/>
{{else if @image}}
<img src="{{@image}}" alt="{{this.name}}" />
{{/if}}
Expand Down

0 comments on commit 93b5c8c

Please sign in to comment.