Skip to content

Commit

Permalink
fix(contactsmenu): adjust padding to new design
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Jan 29, 2025
1 parent baa40e6 commit 958fb8e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
15 changes: 8 additions & 7 deletions core/src/components/ContactsMenu/Contact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,19 @@
{{ action.title }}
</NcActionText>
</template>
<NcActionButton :close-after-click="true">
<template #icon>
<MailIcon :size="20" />
</template>
Mail action
</NcActionButton>
<NcActionButton v-for="action in jsActions"
:key="action.id"
:close-after-click="true"
class="other-actions"
@click="action.callback(contact)">
<template #icon>
<NcIconSvgWrapper class="contact__action__icon-svg"
:svg="action.iconSvg(contact)" />
<NcIconSvgWrapper :svg="action.iconSvg(contact)" />
</template>
{{ action.displayName(contact) }}
</NcActionButton>
Expand Down Expand Up @@ -114,13 +119,9 @@ export default {
&__icon {
width: 20px;
height: 20px;
padding: 12px;
padding: 7px;
filter: var(--background-invert-if-dark);
}

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

&__avatar {
Expand Down
4 changes: 2 additions & 2 deletions dist/core-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

0 comments on commit 958fb8e

Please sign in to comment.