Skip to content

Commit

Permalink
fixup! feat(contacts-menu): implement custom javascript hook action
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny committed Nov 27, 2024
1 parent b48320c commit 279f0b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/components/ContactsMenu/Contact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
class="other-actions"
@click="action.callback(contact)">
<template #icon>
<NcIconSvgWrapper :svg="action.iconSvg(contact)" />
<NcIconSvgWrapper class="contact__action__icon-svg"
:svg="action.iconSvg(contact)" />
</template>
{{ action.displayName(contact) }}
</NcActionButton>
Expand Down Expand Up @@ -116,6 +117,10 @@ export default {
padding: 12px;
filter: var(--background-invert-if-dark);
}

&__icon-svg {
padding: 5px;
}
}

&__avatar {
Expand Down

0 comments on commit 279f0b9

Please sign in to comment.