From 0f0f93eef9e4b56d5c0d562a62fe53908a372250 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 27 Jul 2021 16:47:08 +0200 Subject: [PATCH] Fix workflow schemas. --- .../Areas/Api/Controllers/Apps/Models/WorkflowDto.cs | 3 ++- .../settings/pages/workflows/workflow-step.component.scss | 4 ++++ .../pages/workflows/workflows-page.component.html | 2 +- .../angular/forms/editors/tag-editor.component.scss | 8 ++++++-- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/backend/src/Squidex/Areas/Api/Controllers/Apps/Models/WorkflowDto.cs b/backend/src/Squidex/Areas/Api/Controllers/Apps/Models/WorkflowDto.cs index 995fde738..b61b5cda1 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Apps/Models/WorkflowDto.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Apps/Models/WorkflowDto.cs @@ -9,6 +9,7 @@ using System.Collections.Generic; using System.Linq; using Squidex.Domain.Apps.Core.Contents; using Squidex.Infrastructure; +using Squidex.Infrastructure.Collections; using Squidex.Infrastructure.Reflection; using Squidex.Infrastructure.Validation; using Squidex.Web; @@ -36,7 +37,7 @@ namespace Squidex.Areas.Api.Controllers.Apps.Models /// /// The schema ids. /// - public IReadOnlyList? SchemaIds { get; set; } + public ImmutableList? SchemaIds { get; set; } /// /// The initial step. diff --git a/frontend/app/features/settings/pages/workflows/workflow-step.component.scss b/frontend/app/features/settings/pages/workflows/workflow-step.component.scss index 53ea718d3..f366991c4 100644 --- a/frontend/app/features/settings/pages/workflows/workflow-step.component.scss +++ b/frontend/app/features/settings/pages/workflows/workflow-step.component.scss @@ -60,6 +60,10 @@ } } +.form-check { + margin: 0; +} + .btn-initial { line-height: 1.6rem; padding-left: 0; diff --git a/frontend/app/features/settings/pages/workflows/workflows-page.component.html b/frontend/app/features/settings/pages/workflows/workflows-page.component.html index 64ec85074..a17a8c9b2 100644 --- a/frontend/app/features/settings/pages/workflows/workflows-page.component.html +++ b/frontend/app/features/settings/pages/workflows/workflows-page.component.html @@ -8,7 +8,7 @@ - +
diff --git a/frontend/app/framework/angular/forms/editors/tag-editor.component.scss b/frontend/app/framework/angular/forms/editors/tag-editor.component.scss index eda23503c..5ef28ff30 100644 --- a/frontend/app/framework/angular/forms/editors/tag-editor.component.scss +++ b/frontend/app/framework/angular/forms/editors/tag-editor.component.scss @@ -13,6 +13,10 @@ $inner-height: 1.75rem; position: relative; } +.form-check { + margin: 0; +} + .form-control { cursor: text; padding: .25rem; @@ -91,6 +95,7 @@ div { background: transparent; border: 0; border-radius: 0; + box-shadow: none; padding: 0; &:focus, @@ -176,7 +181,6 @@ div { } .suggestions-dropdown { - max-width: 420px; - min-width: 420px; + @include force-width(450px); padding: 1rem; } \ No newline at end of file