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

fix(contact-info-avatar): show avatar halo as required #1059

Merged
merged 3 commits into from
Jul 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
braddialpad marked this conversation as resolved.
Show resolved Hide resolved
}]"
>
<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