From 4ad84a43b775b43cfcc7fd26453395a26a9c6dab Mon Sep 17 00:00:00 2001 From: Soufiane Date: Mon, 8 Jan 2024 16:30:34 +0100 Subject: [PATCH] Adjust spacing in items card relationships section [SCI-9950] (#6895) --- .../RepositoryItemSidebar.vue | 49 +++++++++++-------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/app/javascript/vue/repository_item_sidebar/RepositoryItemSidebar.vue b/app/javascript/vue/repository_item_sidebar/RepositoryItemSidebar.vue index 9742ff805..c1072a980 100644 --- a/app/javascript/vue/repository_item_sidebar/RepositoryItemSidebar.vue +++ b/app/javascript/vue/repository_item_sidebar/RepositoryItemSidebar.vue @@ -31,12 +31,12 @@
-
+
{{ + class="font-inter text-lg font-semibold leading-7 mb-6 transition-colors duration-300">{{ i18n.t('repositories.item_card.section.information') }}
@@ -114,12 +114,12 @@
-
+
+ class="font-inter text-lg font-semibold leading-7 mb-6 transition-colors duration-300"> {{ i18n.t('repositories.item_card.custom_columns_label') }}
+ class="font-inter text-lg font-semibold leading-7 mb-6 transition-colors duration-300"> {{ i18n.t('repositories.item_card.section.relationships') }}
-
-
{{ i18n.t('repositories.item_card.relationships.parents.count', { count: parentsCount || 0 }) }}
+
+
+ {{ i18n.t('repositories.item_card.relationships.parents.count', { count: parentsCount || 0 }) }} +
-
- - + + {{ i18n.t('repositories.item_card.relationships.item') }} @@ -159,7 +161,7 @@ -

+

{{ i18n.t('repositories.item_card.relationships.id', { code: parent.code }) }} @@ -172,7 +174,7 @@

-
+
{{ i18n.t('repositories.item_card.relationships.parents.empty') }}
@@ -180,8 +182,10 @@
-
-
{{ i18n.t('repositories.item_card.relationships.children.count', { count: childrenCount || 0 }) }}
+
-
- - +
+ + {{ i18n.t('repositories.item_card.relationships.item') }} {{ child.name }} @@ -202,7 +209,7 @@ -

+

{{ i18n.t('repositories.item_card.relationships.id', { code: child.code }) }} {{ i18n.t('repositories.item_card.relationships.inventory') }} @@ -213,7 +220,7 @@

-
+
{{ i18n.t('repositories.item_card.relationships.children.empty') }}
@@ -224,7 +231,7 @@
@@ -276,7 +283,7 @@
-
+
{{ i18n.t('repositories.item_card.section.qr') }}