clean up button sizes

This commit is contained in:
Mutasem 2021-08-03 09:49:55 +02:00
parent 0d23e02aa9
commit 032bcc74e0
5 changed files with 6 additions and 9 deletions

View file

@ -28,7 +28,7 @@
</el-row> </el-row>
<div class="action-buttons"> <div class="action-buttons">
<n8n-button @click="closeDialog" label="Close" size="lg" /> <n8n-button @click="closeDialog" label="Close" />
</div> </div>
</div> </div>
</el-dialog> </el-dialog>

View file

@ -31,8 +31,8 @@
width="120"> width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="cred-operations"> <div class="cred-operations">
<n8n-icon-button title="Edit Credentials" @click.stop="editCredential(scope.row)" icon="pen" size="md" /> <n8n-icon-button title="Edit Credentials" @click.stop="editCredential(scope.row)" icon="pen" />
<n8n-icon-button title="Delete Credentials" @click.stop="deleteCredential(scope.row)" icon="trash" size="md" /> <n8n-icon-button title="Delete Credentials" @click.stop="deleteCredential(scope.row)" icon="trash" />
</div> </div>
</template> </template>
</el-table-column> </el-table-column>

View file

@ -1,6 +1,6 @@
<template> <template>
<span :class="$style.container"> <span :class="$style.container">
<n8n-button label="Save" :disabled="isWorkflowSaving" size="md" @click="save" v-if="isDirty || isNewWorkflow" /> <n8n-button label="Save" :disabled="isWorkflowSaving" @click="save" v-if="isDirty || isNewWorkflow" />
<span :class="$style.saved" v-else>Saved</span> <span :class="$style.saved" v-else>Saved</span>
</span> </span>
</template> </template>

View file

@ -24,7 +24,7 @@
</el-row> </el-row>
</template> </template>
<template v-slot:footer="{ close }"> <template v-slot:footer="{ close }">
<n8n-button size="sm" label="Done" @click="close" float="right" /> <n8n-button label="Done" @click="close" float="right" />
</template> </template>
</Modal> </Modal>
</template> </template>

View file

@ -31,7 +31,7 @@
</div> </div>
<DataDisplay @valueChanged="valueChanged"/> <DataDisplay @valueChanged="valueChanged"/>
<div v-if="!createNodeActive && !isReadOnly" class="node-creator-button" title="Add Node" @click="openNodeCreator"> <div v-if="!createNodeActive && !isReadOnly" class="node-creator-button" title="Add Node" @click="openNodeCreator">
<n8n-icon-button size="lg" icon="plus" /> <n8n-icon-button size="xl" icon="plus" />
</div> </div>
<node-creator <node-creator
:active="createNodeActive" :active="createNodeActive"
@ -72,7 +72,6 @@
v-if="workflowRunning === true && !executionWaitingForWebhook" v-if="workflowRunning === true && !executionWaitingForWebhook"
icon="stop" icon="stop"
size="lg" size="lg"
iconSize="md"
class="stop-execution" class="stop-execution"
type="light" type="light"
:title="stopExecutionInProgress ? 'Stopping current execution':'Stop current execution'" :title="stopExecutionInProgress ? 'Stopping current execution':'Stop current execution'"
@ -85,7 +84,6 @@
class="stop-execution" class="stop-execution"
icon="stop" icon="stop"
size="lg" size="lg"
iconSize="md"
title="Stop waiting for Webhook call" title="Stop waiting for Webhook call"
type="light" type="light"
:loading="stopExecutionInProgress" :loading="stopExecutionInProgress"
@ -97,7 +95,6 @@
title="Deletes the current Execution Data." title="Deletes the current Execution Data."
icon="trash" icon="trash"
size="lg" size="lg"
iconSize="md"
@click.stop="clearExecutionData()" @click.stop="clearExecutionData()"
/> />
</div> </div>