aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components/Rule.vue
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-09-09 13:53:03 +0200
committerJulius Härtl <jus@bitgrid.net>2019-09-10 09:01:26 +0200
commit24aec9b9d27378ab19ebe028f46f26bcf0a1b901 (patch)
tree783cb0114aa8f52b980f1cedc3facf4926b75381 /apps/workflowengine/src/components/Rule.vue
parent0b6706225b27a9953868fdd8d2d3344c0b71048b (diff)
downloadnextcloud-server-24aec9b9d27378ab19ebe028f46f26bcf0a1b901.tar.gz
nextcloud-server-24aec9b9d27378ab19ebe028f46f26bcf0a1b901.zip
Frontend polishing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/src/components/Rule.vue')
-rw-r--r--apps/workflowengine/src/components/Rule.vue10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/workflowengine/src/components/Rule.vue b/apps/workflowengine/src/components/Rule.vue
index 82e19dbe82b..c5c6094879a 100644
--- a/apps/workflowengine/src/components/Rule.vue
+++ b/apps/workflowengine/src/components/Rule.vue
@@ -1,6 +1,5 @@
<template>
<div class="section rule" :style="{ borderLeftColor: operation.color || '' }">
- <!-- TODO: icon-confirm -->
<div class="trigger">
<p>
<span>{{ t('workflowengine', 'When') }}</span>
@@ -21,10 +20,10 @@
<div class="buttons">
<Actions>
<ActionButton v-if="rule.id < -1" icon="icon-close" @click="cancelRule">
- Cancel rule creation
+ {{ t('workflowengine', 'Cancel rule creation') }}
</ActionButton>
<ActionButton v-else icon="icon-close" @click="deleteRule">
- Remove rule
+ {{ t('workflowengine', 'Remove rule') }}
</ActionButton>
</Actions>
</div>
@@ -204,6 +203,7 @@ export default {
}
}
.trigger p, .action p {
+ min-height: 34px;
display: flex;
align-items: center;
@@ -211,7 +211,9 @@ export default {
min-width: 50px;
text-align: right;
color: var(--color-text-maxcontrast);
- padding-right: 5px;
+ padding-right: 10px;
+ padding-top: 7px;
+ margin-bottom: auto;
}
.multiselect {
flex-grow: 1;