-
-
+
+
{{ title }}
-
+
{{ value }}
@@ -14,7 +14,7 @@
export default {
props: {
title: { type: String, required: true },
- icon: { type: String, required: true },
+ icon: { type: String, default: '' },
value: { type: [String, Number], default: '' },
},
};
@@ -25,23 +25,25 @@ export default {
@import '~dashboard/assets/scss/mixins';
.conv-details--item {
- padding-bottom: $space-normal;
+ padding-bottom: $space-medium;
&:last-child {
padding-bottom: 0;
}
.conv-details--item__icon {
- padding-right: $space-micro;
+ padding-right: $space-smaller;
}
.conv-details--item__label {
font-weight: $font-weight-medium;
margin-bottom: $space-micro;
+ font-size: $font-size-small;
}
.conv-details--item__value {
word-break: break-all;
+ margin-top: $space-small;
}
}
diff --git a/app/javascript/dashboard/routes/dashboard/conversation/ContactPanel.vue b/app/javascript/dashboard/routes/dashboard/conversation/ContactPanel.vue
index c1dd67494..a6018be94 100644
--- a/app/javascript/dashboard/routes/dashboard/conversation/ContactPanel.vue
+++ b/app/javascript/dashboard/routes/dashboard/conversation/ContactPanel.vue
@@ -48,6 +48,12 @@
{{ contact.additional_attributes.description }}
+