Skip to content

Commit

Permalink
fix(editor): Tune styles of template credential setup (no-changelog) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi authored Dec 1, 2023
1 parent f8e93b3 commit 38e4b56
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,15 @@ const appNodeCounts = computed(() => {
</script>

<template>
<n8n-notice theme="info">
<n8n-notice :class="$style.notice" theme="info">
<i18n-t tag="span" keypath="templateSetup.instructions" scope="global">
<span v-html="appNodeCounts" />
</i18n-t>
</n8n-notice>
</template>

<style lang="scss" module>
.notice {
margin-top: 0;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const onCredentialDeselected = () => {
.heading {
display: flex;
align-items: center;
margin-bottom: var(--spacing-xs);
margin-bottom: var(--spacing-2xs);
}
.headingOrder {
Expand All @@ -132,6 +132,8 @@ const onCredentialDeselected = () => {
.description {
margin-bottom: var(--spacing-l);
font-size: var(--font-size-s);
color: var(--color-text-base);
}
.credentials {
Expand All @@ -146,6 +148,7 @@ const onCredentialDeselected = () => {
.credentialOk {
margin-left: var(--spacing-2xs);
font-size: 24px;
}
.invisible {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ onMounted(async () => {
:disabled="setupTemplateStore.numCredentialsLeft === 0"
>
<n8n-button
size="large"
:label="$locale.baseText('templateSetup.continue.button')"
:disabled="setupTemplateStore.numCredentialsLeft > 0 || setupTemplateStore.isSaving"
@click="setupTemplateStore.createWorkflow($router)"
Expand All @@ -163,7 +164,7 @@ onMounted(async () => {
.grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
padding: var(--spacing-l) var(--spacing-l) 0;
padding: 0 var(--spacing-l);
justify-content: center;
}
Expand Down Expand Up @@ -191,7 +192,7 @@ onMounted(async () => {
.appCredential:not(:last-of-type) {
padding-bottom: var(--spacing-2xl);
border-bottom: 1px solid var(--prim-gray-540);
border-bottom: 1px solid var(--color-foreground-light);
}
.actions {
Expand Down

0 comments on commit 38e4b56

Please sign in to comment.