Skip to content

Commit

Permalink
feat(core): added actions to contact section within unified search
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
  • Loading branch information
emoral435 committed Jan 10, 2024
1 parent c04be33 commit 74edbd4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions core/src/components/ContactsMenu/Contact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</template>

<script>
import {NcActionLink, NcButton, NcActionText, NcActions, NcAvatar} from '@nextcloud/vue'
import {NcActionLink, NcActionText, NcActions, NcAvatar} from '@nextcloud/vue'

Check failure on line 64 in core/src/components/ContactsMenu/Contact.vue

View workflow job for this annotation

GitHub Actions / NPM lint

A space is required after '{'

Check failure on line 64 in core/src/components/ContactsMenu/Contact.vue

View workflow job for this annotation

GitHub Actions / NPM lint

A space is required before '}'

export default {
name: 'Contact',
Expand All @@ -70,7 +70,6 @@ export default {
NcActionText,
NcActions,
NcAvatar,
NcButton,
},
props: {
contact: {
Expand Down Expand Up @@ -101,6 +100,7 @@ export default {
&:hover {
background: var(--color-background-hover);
border-radius: var(--border-radius-pill);
cursor: pointer;
}

&__action {
Expand All @@ -114,6 +114,7 @@ export default {

&__avatar {
display: inherit;
cursor: pointer;
}

&__body {
Expand All @@ -123,6 +124,7 @@ export default {
align-items: center;
margin-left: 10px;
min-width: 0;
cursor: pointer;

div {
position: relative;
Expand All @@ -148,6 +150,7 @@ export default {
}

button.other-actions {
cursor: pointer;
width: 44px;

&:focus {
Expand Down
4 changes: 2 additions & 2 deletions dist/core-unified-search.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

0 comments on commit 74edbd4

Please sign in to comment.