update sizes based on feedback

This commit is contained in:
Mutasem 2021-07-28 12:12:40 +02:00
parent bf502b71d6
commit 8490286e9a
6 changed files with 8 additions and 10 deletions

View file

@ -10,7 +10,6 @@
<div v-if="parameterOptions.length > 0 && !isReadOnly" class="param-options">
<n8n-button
v-if="parameter.options.length === 1"
size="lg"
fullWidth
@click="optionSelected(parameter.options[0].name)"
:label="getPlaceholderText"

View file

@ -29,8 +29,8 @@
</el-row>
</template>
<template v-slot:footer="{ close }">
<n8n-button size="md" @click="save" :loading="isSaving" label="Save" />
<n8n-button size="md" @click="close" :disabled="isSaving" label="Cancel" />
<n8n-button @click="save" :loading="isSaving" label="Save" />
<n8n-button @click="close" :disabled="isSaving" label="Cancel" />
</template>
</Modal>
</template>

View file

@ -102,7 +102,7 @@
v-if="scope.row.stoppedAt !== undefined && !scope.row.finished && scope.row.retryOf === undefined && scope.row.retrySuccessId === undefined"
type="light"
:theme="scope.row.stoppedAt === null ? 'warning': 'danger'"
size="md"
size="sm"
title="Retry execution"
icon="redo"
/>
@ -684,11 +684,12 @@ export default mixins(
position: relative;
display: inline-block;
padding: 0 10px;
height: 30px;
line-height: 30px;
height: 22.6px;
line-height: 22.6px;
border-radius: 15px;
text-align: center;
font-weight: 400;
font-size: 12px;
&.error {
background-color: $--custom-error-background;

View file

@ -32,7 +32,7 @@
</div>
<div v-if="parameterOptions.length > 0 && !isReadOnly">
<n8n-button v-if="parameter.options.length === 1" fullWidth size="lg" class="add-option" @click="optionSelected(parameter.options[0].name)" :label="getPlaceholderText" />
<n8n-button v-if="parameter.options.length === 1" fullWidth class="add-option" @click="optionSelected(parameter.options[0].name)" :label="getPlaceholderText" />
<el-select v-else v-model="selectedOption" :placeholder="getPlaceholderText" size="small" class="add-option" @change="optionSelected" filterable>
<el-option
v-for="item in parameterOptions"

View file

@ -29,7 +29,7 @@
<div v-if="values && Object.keys(values).length === 0 || isReadOnly" class="no-items-exist">
Currently no items exist
</div>
<n8n-button v-if="!isReadOnly" fullWidth size="lg" @click="addItem()" :label="addButtonText" />
<n8n-button v-if="!isReadOnly" fullWidth @click="addItem()" :label="addButtonText" />
</div>
</div>

View file

@ -12,7 +12,6 @@
icon="play-circle"
type="outline"
label="Execute Node"
size="md"
@click.stop="runWorkflow(node.name, 'RunData.ExecuteNodeButton')"
/>
</div>
@ -96,7 +95,6 @@
</div>
<n8n-button
size="md"
icon="eye"
label="Display Data Anyway"
@click="displayMode = 'Table';showData = true;"