Skip to content

Commit 13ff8ae

Browse files
st3inybackportbot[bot]
authored andcommitted
fix(contactsmenu): adjust padding to new design
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud> [skip ci]
1 parent 107a7c5 commit 13ff8ae

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

core/src/components/ContactsMenu/Contact.vue

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<template>
77
<li class="contact">
88
<NcAvatar class="contact__avatar"
9-
:size="44"
109
:user="contact.isUser ? contact.uid : undefined"
1110
:is-no-user="!contact.isUser"
1211
:disable-menu="true"
@@ -44,8 +43,7 @@
4443
class="other-actions"
4544
@click="action.callback(contact)">
4645
<template #icon>
47-
<NcIconSvgWrapper class="contact__action__icon-svg"
48-
:svg="action.iconSvg(contact)" />
46+
<NcIconSvgWrapper :svg="action.iconSvg(contact)" />
4947
</template>
5048
{{ action.displayName(contact) }}
5149
</NcActionButton>
@@ -114,13 +112,9 @@ export default {
114112
&__icon {
115113
width: 20px;
116114
height: 20px;
117-
padding: 12px;
115+
padding: calc((var(--default-clickable-area) - 20px) / 2);
118116
filter: var(--background-invert-if-dark);
119117
}
120-
121-
&__icon-svg {
122-
padding: 5px;
123-
}
124118
}
125119
126120
&__avatar {

0 commit comments

Comments
 (0)