summaryrefslogtreecommitdiffstats
path: root/src/components/Properties/PropertyTitle.vue
diff options
context:
space:
mode:
authorgreta <gretadoci@gmail.com>2022-07-04 18:16:32 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2022-07-19 10:36:08 +0200
commitd69b4cbfeef3b22dc8c0f1c4bbab32249100f1fd (patch)
tree47d563e9572e31e5655db2ac9928647e10465687 /src/components/Properties/PropertyTitle.vue
parent5d9a88b6013ce160e5fb818d7d836dfc963b332a (diff)
Fix styling regression on contacts
Signed-off-by: greta <gretadoci@gmail.com> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'src/components/Properties/PropertyTitle.vue')
-rw-r--r--src/components/Properties/PropertyTitle.vue10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/Properties/PropertyTitle.vue b/src/components/Properties/PropertyTitle.vue
index c92a5414..d66df242 100644
--- a/src/components/Properties/PropertyTitle.vue
+++ b/src/components/Properties/PropertyTitle.vue
@@ -21,7 +21,8 @@
-->
<template>
- <h3 class="property__title property__row">
+ <h3 class="property__title property__row"
+ :class="{'align-to-actions': hasActions}">
<PropertyTitleIcon :icon="icon" />
<div class="property__value property__title--right">
{{ readableName }}
@@ -47,6 +48,10 @@ export default {
default: '',
required: true,
},
+ hasActions: {
+ type: Boolean,
+ default: false,
+ }
},
}
</script>
@@ -62,4 +67,7 @@ export default {
display: flex;
justify-content: space-between;
}
+.align-to-actions {
+ padding-bottom: 10px;
+}
</style>