Skip to content

Commit 3accef4

Browse files
authored
Merge pull request #55090 from nextcloud/backport/50532/stable31
[stable31] fix(contactsmenu): adjust padding to new design
2 parents 0e73460 + 2f767ff commit 3accef4

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
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 {

dist/core-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)