fix(contactsmenu): adjust padding to new design

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
pull/50532/head
Richard Steinmetz 8 months ago
parent 1e7b45d300
commit 4e89f86b57
No known key found for this signature in database
GPG Key ID: 27137D9E7D273FB2
  1. 10
      core/src/components/ContactsMenu/Contact.vue
  2. 4
      dist/core-main.js
  3. 2
      dist/core-main.js.map

@ -6,7 +6,6 @@
<template>
<li class="contact">
<NcAvatar class="contact__avatar"
:size="44"
:user="contact.isUser ? contact.uid : undefined"
:is-no-user="!contact.isUser"
:disable-menu="true"
@ -44,8 +43,7 @@
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>
@ -114,13 +112,9 @@ export default {
&__icon {
width: 20px;
height: 20px;
padding: 12px;
padding: calc((var(--default-clickable-area) - 20px) / 2);
filter: var(--background-invert-if-dark);
}
&__icon-svg {
padding: 5px;
}
}
&__avatar {

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save