mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
update sizes based on feedback
This commit is contained in:
parent
bf502b71d6
commit
8490286e9a
|
@ -10,7 +10,6 @@
|
||||||
<div v-if="parameterOptions.length > 0 && !isReadOnly" class="param-options">
|
<div v-if="parameterOptions.length > 0 && !isReadOnly" class="param-options">
|
||||||
<n8n-button
|
<n8n-button
|
||||||
v-if="parameter.options.length === 1"
|
v-if="parameter.options.length === 1"
|
||||||
size="lg"
|
|
||||||
fullWidth
|
fullWidth
|
||||||
@click="optionSelected(parameter.options[0].name)"
|
@click="optionSelected(parameter.options[0].name)"
|
||||||
:label="getPlaceholderText"
|
:label="getPlaceholderText"
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:footer="{ close }">
|
<template v-slot:footer="{ close }">
|
||||||
<n8n-button size="md" @click="save" :loading="isSaving" label="Save" />
|
<n8n-button @click="save" :loading="isSaving" label="Save" />
|
||||||
<n8n-button size="md" @click="close" :disabled="isSaving" label="Cancel" />
|
<n8n-button @click="close" :disabled="isSaving" label="Cancel" />
|
||||||
</template>
|
</template>
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
v-if="scope.row.stoppedAt !== undefined && !scope.row.finished && scope.row.retryOf === undefined && scope.row.retrySuccessId === undefined"
|
v-if="scope.row.stoppedAt !== undefined && !scope.row.finished && scope.row.retryOf === undefined && scope.row.retrySuccessId === undefined"
|
||||||
type="light"
|
type="light"
|
||||||
:theme="scope.row.stoppedAt === null ? 'warning': 'danger'"
|
:theme="scope.row.stoppedAt === null ? 'warning': 'danger'"
|
||||||
size="md"
|
size="sm"
|
||||||
title="Retry execution"
|
title="Retry execution"
|
||||||
icon="redo"
|
icon="redo"
|
||||||
/>
|
/>
|
||||||
|
@ -684,11 +684,12 @@ export default mixins(
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
height: 30px;
|
height: 22.6px;
|
||||||
line-height: 30px;
|
line-height: 22.6px;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
font-size: 12px;
|
||||||
|
|
||||||
&.error {
|
&.error {
|
||||||
background-color: $--custom-error-background;
|
background-color: $--custom-error-background;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="parameterOptions.length > 0 && !isReadOnly">
|
<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-select v-else v-model="selectedOption" :placeholder="getPlaceholderText" size="small" class="add-option" @change="optionSelected" filterable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in parameterOptions"
|
v-for="item in parameterOptions"
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<div v-if="values && Object.keys(values).length === 0 || isReadOnly" class="no-items-exist">
|
<div v-if="values && Object.keys(values).length === 0 || isReadOnly" class="no-items-exist">
|
||||||
Currently no items exist
|
Currently no items exist
|
||||||
</div>
|
</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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
icon="play-circle"
|
icon="play-circle"
|
||||||
type="outline"
|
type="outline"
|
||||||
label="Execute Node"
|
label="Execute Node"
|
||||||
size="md"
|
|
||||||
@click.stop="runWorkflow(node.name, 'RunData.ExecuteNodeButton')"
|
@click.stop="runWorkflow(node.name, 'RunData.ExecuteNodeButton')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -96,7 +95,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<n8n-button
|
<n8n-button
|
||||||
size="md"
|
|
||||||
icon="eye"
|
icon="eye"
|
||||||
label="Display Data Anyway"
|
label="Display Data Anyway"
|
||||||
@click="displayMode = 'Table';showData = true;"
|
@click="displayMode = 'Table';showData = true;"
|
||||||
|
|
Loading…
Reference in a new issue