summaryrefslogtreecommitdiffstats
path: root/src/components/properties/PropertyDateTime.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/properties/PropertyDateTime.vue')
-rw-r--r--src/components/properties/PropertyDateTime.vue20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/components/properties/PropertyDateTime.vue b/src/components/properties/PropertyDateTime.vue
index 84bf767d..210efa34 100644
--- a/src/components/properties/PropertyDateTime.vue
+++ b/src/components/properties/PropertyDateTime.vue
@@ -22,18 +22,20 @@
<template>
<div v-if="propModel" class="contact-details-property grid-span-1">
- <!-- type selector -->
- <multiselect v-if="propModel.options" v-model="selectType"
- :options="propModel.options" :searchable="false" :placeholder="t('contacts', 'Select type')"
- class="multiselect-vue contact-details-label" track-by="id" label="name" />
+ <div class="contact-details-property-row">
+ <!-- type selector -->
+ <multiselect v-if="propModel.options" v-model="selectType"
+ :options="propModel.options" :searchable="false" :placeholder="t('contacts', 'Select type')"
+ class="multiselect-vue contact-details-label" track-by="id" label="name" />
- <!-- if we do not support any type on our model but one is set anyway -->
- <div v-else-if="selectType" class="contact-details-label">{{ selectType.name }}</div>
+ <!-- if we do not support any type on our model but one is set anyway -->
+ <div v-else-if="selectType" class="contact-details-label">{{ selectType.name }}</div>
- <!-- delete the prop -->
- <button :title="t('contacts', 'Delete')" class="icon-delete" @click="deleteProperty" />
+ <!-- delete the prop -->
+ <button :title="t('contacts', 'Delete')" class="icon-delete" @click="deleteProperty" />
- <input v-model="value" type="text">
+ <input v-model="value" type="text">
+ </div>
</div>
</template>