diff --git a/package-lock.json b/package-lock.json index a4f61efcdc7..b611072ab42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@nextcloud/paths": "^2.2.1", "@nextcloud/router": "^3.0.1", "@nextcloud/upload": "^1.4.2", - "@nextcloud/vue": "^8.15.0", + "@nextcloud/vue": "^8.15.1", "@vueuse/components": "^10.11.0", "crypto-js": "^4.2.0", "debounce": "^2.1.0", @@ -3868,9 +3868,9 @@ } }, "node_modules/@nextcloud/vue": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-8.15.0.tgz", - "integrity": "sha512-Yxf7bIzKV3vCDJDZo99dSLpfe9wMh0hTvmlov5B8V+ZX/foq+O/EcvPivbJmesjIi6LKg+z4K53d7tU2izAPSg==", + "version": "8.15.1", + "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-8.15.1.tgz", + "integrity": "sha512-gZEcXPNhRGYhjSd/IeTs0jQ5P8tPIv9BJm5A8qsdpB1Mb/Xb9suhJv1xHaeGcOGoUCcs7A66coPkCgv1zcSJ2w==", "dependencies": { "@floating-ui/dom": "^1.1.0", "@linusborg/vue-simple-portal": "^0.1.5", @@ -23621,9 +23621,9 @@ } }, "@nextcloud/vue": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-8.15.0.tgz", - "integrity": "sha512-Yxf7bIzKV3vCDJDZo99dSLpfe9wMh0hTvmlov5B8V+ZX/foq+O/EcvPivbJmesjIi6LKg+z4K53d7tU2izAPSg==", + "version": "8.15.1", + "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-8.15.1.tgz", + "integrity": "sha512-gZEcXPNhRGYhjSd/IeTs0jQ5P8tPIv9BJm5A8qsdpB1Mb/Xb9suhJv1xHaeGcOGoUCcs7A66coPkCgv1zcSJ2w==", "requires": { "@floating-ui/dom": "^1.1.0", "@linusborg/vue-simple-portal": "^0.1.5", diff --git a/package.json b/package.json index 3334f091a66..ed88d2c910c 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@nextcloud/paths": "^2.2.1", "@nextcloud/router": "^3.0.1", "@nextcloud/upload": "^1.4.2", - "@nextcloud/vue": "^8.15.0", + "@nextcloud/vue": "^8.15.1", "@vueuse/components": "^10.11.0", "crypto-js": "^4.2.0", "debounce": "^2.1.0", diff --git a/src/components/ConversationIcon.vue b/src/components/ConversationIcon.vue index bb60b41a829..e79a010db41 100644 --- a/src/components/ConversationIcon.vue +++ b/src/components/ConversationIcon.vue @@ -129,7 +129,7 @@ export default { size: { type: Number, - default: AVATAR.SIZE.DEFAULT, + default: AVATAR.SIZE.TWO_LINES, }, }, diff --git a/src/components/LeftSidebar/ConversationsList/Conversation.vue b/src/components/LeftSidebar/ConversationsList/Conversation.vue index 5bb46bfad1e..a2e43788ad8 100644 --- a/src/components/LeftSidebar/ConversationsList/Conversation.vue +++ b/src/components/LeftSidebar/ConversationsList/Conversation.vue @@ -329,15 +329,6 @@ export default { } .conversation { - // Overwrite NcListItem styles to reduce a component height - padding: 0 !important; - margin: var(--default-grid-baseline); - width: calc(100% - var(--default-grid-baseline) * 2); - - :deep(.list-item) { - padding-block: var(--default-grid-baseline); - } - // Overwrite ConversationIcon styles to blend a type icon with NcListItem & :deep(.list-item:hover .conversation-icon__type) { background-color: var(--color-background-hover); diff --git a/src/components/LeftSidebar/ConversationsList/ConversationsListVirtual.vue b/src/components/LeftSidebar/ConversationsList/ConversationsListVirtual.vue index c10aec4f8cc..c3c8f5c781a 100644 --- a/src/components/LeftSidebar/ConversationsList/ConversationsListVirtual.vue +++ b/src/components/LeftSidebar/ConversationsList/ConversationsListVirtual.vue @@ -29,9 +29,9 @@ import 'vue-virtual-scroller/dist/vue-virtual-scroller.css' /* Consider: * 48 = 2 * var(--default-line-height) - 2 lines of text * 8 = 2 * var(--default-grid-baseline) - item padding - * 4 = var(--default-grid-baseline) - item margin (collapsed) + * 8 = 2 * var(--default-grid-baseline) - focus offset */ -const CONVERSATION_ITEM_SIZE = 60 +const CONVERSATION_ITEM_SIZE = 64 export default { name: 'ConversationsListVirtual', diff --git a/src/components/LeftSidebar/LeftSidebar.vue b/src/components/LeftSidebar/LeftSidebar.vue index 9b403ec5a78..d368b9abc30 100644 --- a/src/components/LeftSidebar/LeftSidebar.vue +++ b/src/components/LeftSidebar/LeftSidebar.vue @@ -180,7 +180,7 @@ data-nav-id="conversation_create_new" @click="createConversation(searchText)">