From a187fb30aa4064b2e106e48176a680cf7b8313b5 Mon Sep 17 00:00:00 2001 From: greta Date: Thu, 26 Oct 2023 19:24:30 +0200 Subject: [PATCH] fixup! Add shared items and events for each contact Signed-off-by: greta --- src/components/ContactDetails.vue | 39 ++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/src/components/ContactDetails.vue b/src/components/ContactDetails.vue index 19f15b4d8..a6a816496 100644 --- a/src/components/ContactDetails.vue +++ b/src/components/ContactDetails.vue @@ -265,9 +265,6 @@ -
@@ -310,13 +307,27 @@ class="property--groups property--last" @update:value="updateGroups" /> + - + @@ -682,8 +693,7 @@ export default { return this.contact.addressbook.id === 'z-server-generated--system' }, nextcloudVersion() { - // TODO: remove it when NC 25 is not supported anymore - return parseInt(OC.config.version.split('.')[0]) >= 26 + return parseInt(OC.config.version.split('.')[0]) >= 28 }, }, @@ -997,6 +1007,7 @@ export default { align-items: flex-start; padding: 50px 0 20px; gap: 15px; + float: left; } @media only screen and (max-width: 600px) { .contact-details-wrapper { @@ -1066,5 +1077,21 @@ section.contact-details { background-color: var(--color-primary-element-light-hover) !important; } +.related-resources { + display:inline-grid; + margin-top: 88px; + flex-direction: column; +} +@media only screen and (max-width: 1600px) { + .related-resources { + float: left; + display: inline-grid; + margin-left: 80px; + flex-direction: column + } +} +.last-edit { + display: inline-flex; +}