diff --git a/src/designer/elsa-workflows-studio/src/components/controls/elsa-monaco/elsa-monaco.tsx b/src/designer/elsa-workflows-studio/src/components/controls/elsa-monaco/elsa-monaco.tsx index a456b4fc6..5aa50d26d 100644 --- a/src/designer/elsa-workflows-studio/src/components/controls/elsa-monaco/elsa-monaco.tsx +++ b/src/designer/elsa-workflows-studio/src/components/controls/elsa-monaco/elsa-monaco.tsx @@ -19,7 +19,7 @@ export class ElsaMonaco { monaco = (window as any).monaco; - @Prop({attribute: 'editor-height', reflect: true}) editorHeight: string = '6em'; + @Prop({attribute: 'editor-height', reflect: true}) editorHeight: string = '5em'; @Prop() value: string; @Prop() language: string; @Prop({attribute: 'single-line', reflect: true}) singleLineMode: boolean = false; diff --git a/src/designer/elsa-workflows-studio/src/components/editors/elsa-multi-expression-editor/elsa-multi-expression-editor.tsx b/src/designer/elsa-workflows-studio/src/components/editors/elsa-multi-expression-editor/elsa-multi-expression-editor.tsx index 5990c23fb..87104eac2 100644 --- a/src/designer/elsa-workflows-studio/src/components/editors/elsa-multi-expression-editor/elsa-multi-expression-editor.tsx +++ b/src/designer/elsa-workflows-studio/src/components/editors/elsa-multi-expression-editor/elsa-multi-expression-editor.tsx @@ -16,7 +16,7 @@ export class ElsaMultiExpressionEditor { @Prop() defaultSyntax: string = SyntaxNames.Literal; @Prop() expressions: Map = {}; @Prop() supportedSyntaxes: Array = []; - @Prop({attribute: 'editor-height', reflect: true}) editorHeight: string = '6em'; + @Prop({attribute: 'editor-height', reflect: true}) editorHeight: string = '10em'; @Prop({attribute: 'single-line', reflect: true}) singleLineMode: boolean = false; @Prop({attribute: 'context', reflect: true}) context?: string; diff --git a/src/designer/elsa-workflows-studio/src/components/editors/elsa-property-editor/elsa-property-editor.tsx b/src/designer/elsa-workflows-studio/src/components/editors/elsa-property-editor/elsa-property-editor.tsx index 35c697d9d..68bcf4911 100644 --- a/src/designer/elsa-workflows-studio/src/components/editors/elsa-property-editor/elsa-property-editor.tsx +++ b/src/designer/elsa-workflows-studio/src/components/editors/elsa-property-editor/elsa-property-editor.tsx @@ -11,7 +11,7 @@ export class ElsaPropertyEditor { @Event() defaultSyntaxValueChanged: EventEmitter; @Prop() propertyDescriptor: ActivityPropertyDescriptor; @Prop() propertyModel: ActivityDefinitionProperty; - @Prop({attribute: 'editor-height', reflect: true}) editorHeight: string = '6em'; + @Prop({attribute: 'editor-height', reflect: true}) editorHeight: string = '10em'; @Prop({attribute: 'single-line', reflect: true}) singleLineMode: boolean = false; @Prop({attribute: 'context', reflect: true}) context?: string; @Prop() showLabel: boolean = true; diff --git a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-check-list-property/elsa-check-list-property.tsx b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-check-list-property/elsa-check-list-property.tsx index a8b7c34ea..a9f841764 100644 --- a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-check-list-property/elsa-check-list-property.tsx +++ b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-check-list-property/elsa-check-list-property.tsx @@ -56,7 +56,6 @@ export class ElsaCheckListProperty { this.onDefaultSyntaxValueChanged(e)} - editor-height="2.75em" single-line={true}>
{items.map((item, index) => { diff --git a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-checkbox-property/elsa-checkbox-property.tsx b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-checkbox-property/elsa-checkbox-property.tsx index f3841c587..9768f0060 100644 --- a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-checkbox-property/elsa-checkbox-property.tsx +++ b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-checkbox-property/elsa-checkbox-property.tsx @@ -39,7 +39,6 @@ export class ElsaCheckBoxProperty { this.onDefaultSyntaxValueChanged(e)} - editor-height="2.75em" single-line={true} showLabel={false}>
diff --git a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-dropdown-property/elsa-dropdown-property.tsx b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-dropdown-property/elsa-dropdown-property.tsx index 1633d4b09..e8f93ff93 100644 --- a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-dropdown-property/elsa-dropdown-property.tsx +++ b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-dropdown-property/elsa-dropdown-property.tsx @@ -45,7 +45,6 @@ export class ElsaDropdownProperty { this.onDefaultSyntaxValueChanged(e)} - editor-height="2.75em" single-line={true}> this.onChange(e)} class="focus:elsa-ring-blue-500 focus:elsa-border-blue-500 elsa-block elsa-w-full elsa-min-w-0 elsa-rounded-md sm:elsa-text-sm elsa-border-gray-300"/> diff --git a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-switch-cases-property/elsa-switch-cases-property.tsx b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-switch-cases-property/elsa-switch-cases-property.tsx index 744d8d350..45a85fd45 100644 --- a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-switch-cases-property/elsa-switch-cases-property.tsx +++ b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-switch-cases-property/elsa-switch-cases-property.tsx @@ -105,7 +105,6 @@ export class ElsaSwitchCasesProperty { language={monacoLanguage} single-line={true} padding="elsa-pt-1.5 elsa-pl-1 elsa-pr-28" - editor-height="2.75em" onExpressionChanged={e => this.onCaseExpressionChanged(e, switchCase)} />
diff --git a/src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.Monolith/Startup.cs b/src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.Monolith/Startup.cs index 4a1624cfe..cd0f94ee7 100644 --- a/src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.Monolith/Startup.cs +++ b/src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.Monolith/Startup.cs @@ -65,9 +65,9 @@ namespace ElsaDashboard.Samples.AspNetCore.Monolith app.UseCors(); app.UseStaticFiles(); - app.UseHttpActivities(); app.UseRouting(); app.UseAuthorization(); + app.UseHttpActivities(); app.UseEndpoints(endpoints => { // Elsa Server uses ASP.NET Core Controllers.