Skip to content

Commit

Permalink
fix(n8n Form Trigger Node): Improve copy and a few tweaks (no-changel…
Browse files Browse the repository at this point in the history
…og) (#10243)

Co-authored-by: Michael Kret <michael.k@radency.com>
  • Loading branch information
gandreini and michael-radency authored Aug 1, 2024
1 parent 88a1701 commit 785c82c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
13 changes: 8 additions & 5 deletions packages/cli/templates/form-trigger.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,10 @@
display: inline-block;
}
@media only screen and (max-width: 400px) {
@media only screen and (max-width: 500px) {
body {
background-color: white;
}
hr {
display: block;
}
Expand All @@ -291,16 +294,16 @@
min-height: 100vh;
padding: 24px;
background-color: white;
border: 1px solid #dbdfe7;
border-radius: 8px;
box-shadow: 0px 4px 16px 0px #634dff0f;
border: 0px solid #dbdfe7;
border-radius: 0px;
box-shadow: 0px 0px 0px 0px white;
}
.card {
padding: 0px;
background-color: white;
border: 0px solid #dbdfe7;
border-radius: 0px;
box-shadow: 0px 0px 10px 0px #634dff0f;
box-shadow: 0px 0px 0px 0px white;
margin-bottom: 0px;
}
}
Expand Down
9 changes: 5 additions & 4 deletions packages/nodes-base/nodes/Form/common.descriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const formFields: INodeProperties = {
type: 'string',
default: '',
placeholder: 'e.g. What is your name?',
description: 'Label appears above the input field',
description: 'Label that appears above the input field',
required: true,
},
{
Expand Down Expand Up @@ -102,6 +102,7 @@ export const formFields: INodeProperties = {
{
displayName: 'Placeholder',
name: 'placeholder',
description: 'Sample text to display inside the field',
type: 'string',
default: '',
displayOptions: {
Expand Down Expand Up @@ -169,11 +170,11 @@ export const formFields: INodeProperties = {
},
},
{
displayName: 'Accept File Types',
displayName: 'Accepted File Types',
name: 'acceptFileTypes',
type: 'string',
default: '',
description: 'List of file types that can be uploaded, separated by commas',
description: 'Comma-separated list of allowed file extensions',
hint: 'Leave empty to allow all file types',
placeholder: 'e.g. .jpg, .png',
displayOptions: {
Expand All @@ -188,7 +189,7 @@ export const formFields: INodeProperties = {
type: 'string',
default: '',
description:
'Returns a string representation of this field formatted according to the specified format string. For a table of tokens and their interpretations, see <a href="https://moment.github.io/luxon/#/formatting?ID=table-of-tokens" target="_blank">here</a>.',
'How to format the date in the output data. For a table of tokens and their interpretations, see <a href="https://moment.github.io/luxon/#/formatting?ID=table-of-tokens" target="_blank">here</a>.',
placeholder: 'e.g. dd/mm/yyyy',
hint: 'Leave empty to use the default format',
displayOptions: {
Expand Down

0 comments on commit 785c82c

Please sign in to comment.