fix: Update workflow save button type and design and share button type (#4752)

fix: Update workflow save button type and design and share button type.
This commit is contained in:
Alex Grozav
2022-11-29 11:05:19 +02:00
committed by GitHub
parent fca632fc15
commit b89301ec36
2 changed files with 4 additions and 3 deletions

View File

@@ -69,7 +69,7 @@
</span> </span>
<enterprise-edition :features="[EnterpriseEditionFeature.WorkflowSharing]"> <enterprise-edition :features="[EnterpriseEditionFeature.WorkflowSharing]">
<n8n-button <n8n-button
type="tertiary" type="secondary"
class="mr-2xs" class="mr-2xs"
@click="onShareButtonClick" @click="onShareButtonClick"
> >
@@ -77,7 +77,7 @@
</n8n-button> </n8n-button>
</enterprise-edition> </enterprise-edition>
<SaveButton <SaveButton
type="secondary" type="primary"
:saved="!this.isDirty && !this.isNewWorkflow" :saved="!this.isDirty && !this.isNewWorkflow"
:disabled="isWorkflowSaving" :disabled="isWorkflowSaving"
data-test-id="workflow-save-button" data-test-id="workflow-save-button"

View File

@@ -70,6 +70,7 @@ export default Vue.extend({
font-weight: 600; font-weight: 600;
line-height: 12px; line-height: 12px;
text-align: center; text-align: center;
padding: var(--spacing-2xs) var(--spacing-xs); padding: var(--spacing-2xs) var(--spacing-2xs);
min-width: 53px;
} }
</style> </style>