mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(contactsmenu): adjust padding to new design
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
1e7b45d300
commit
4e89f86b57
3 changed files with 5 additions and 11 deletions
|
|
@ -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
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue