diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index d35fb38191a..5a8c69b33bf 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@  - 9.9.2-beta04 + 9.9.2-beta05 diff --git a/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor b/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor index 40989272d82..b5998b52ca8 100644 --- a/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor +++ b/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor @@ -2,7 +2,7 @@ @typeparam TModel @inherits BootstrapComponentBase -
+
@FieldItems?.Invoke(Model) @@ -31,14 +31,14 @@ } }
- - @if (Buttons != null) - { - - } + @if (Buttons != null) + { + + } +
@code diff --git a/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor.cs b/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor.cs index 664566f60b6..43956eef2db 100644 --- a/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor.cs +++ b/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor.cs @@ -14,6 +14,10 @@ namespace BootstrapBlazor.Components; [CascadingTypeParameter(nameof(TModel))] public partial class EditorForm : IShowLabel { + private string? ClassString => CssBuilder.Default("bb-editor") + .AddClassFromAttributes(AdditionalAttributes) + .Build(); + /// /// 支持每行多少个控件功能 /// diff --git a/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor.scss b/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor.scss index a16410be159..e90496b074b 100644 --- a/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor.scss +++ b/src/BootstrapBlazor/Components/EditorForm/EditorForm.razor.scss @@ -1,4 +1,4 @@ -.bb-editor { +.bb-editor { position: relative; .ef-loading { @@ -9,8 +9,4 @@ bottom: 0; background-color: var(--bs-body-bg); } - - .bb-editor-footer { - margin-block-start: 1rem; - } } diff --git a/src/BootstrapBlazor/Components/Table/Table.razor.scss b/src/BootstrapBlazor/Components/Table/Table.razor.scss index b7d4aa81909..551cc54c38f 100644 --- a/src/BootstrapBlazor/Components/Table/Table.razor.scss +++ b/src/BootstrapBlazor/Components/Table/Table.razor.scss @@ -926,7 +926,7 @@ form .table .table-cell > textarea { .modal-dialog-table.modal-dialog-scrollable .modal-body .form-footer { margin: 0; - padding: 1rem; + padding: 0.5rem 1rem; } .table-wrap thead th .table-cell .table-text {