Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
fix(contact-info-avatar): show avatar halo as required vue3 (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-dp authored and juliodialpad committed Jul 14, 2023
1 parent cd97518 commit 53a882c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions recipes/list_items/contact_info/contact_info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
:overlay-icon="avatar.icon"
:overlay-text="avatar.text"
overlay-class="d-mn4 d-ba d-baw4 d-bc-white d-box-unset"
:avatar-class="['d-ba d-baw4 d-bc-white d-bar-pill', { 'd-mln24': index > 0 }]"
:avatar-class="['d-baw4 d-bc-white d-bar-pill d-ba d-bc-transparent', {
'd-mln24': index > 0,
'd-bc-brand': !!avatar.halo,
}]"
>
<img
v-if="avatar.src"
Expand Down Expand Up @@ -206,7 +209,8 @@ export default {
* `initials` - Initial letters to display in avatar (required if src is empty)<br>
* `seed` - determines uniqueness of avatar background <br>
* `text` - text that overlays the avatar (optional) <br>
* `icon` - icon that overlays the avatar (optional)
* `icon` - icon that overlays the avatar (optional) <br>
* `halo` - halo highlight around the avatar. boolean true/false
*/
avatarList: {
type: Array,
Expand Down

0 comments on commit 53a882c

Please sign in to comment.