Browse Source

Add `.abp-md-form` to settings management

pull/16822/head
Enis Necipoglu 3 years ago
parent
commit
c1f658cff7
  1. 2
      modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/SettingManagement.razor
  2. 2
      modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Index.js

2
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/SettingManagement.razor

@ -23,7 +23,7 @@
<Content> <Content>
@foreach (var group in SettingComponentCreationContext.Groups) @foreach (var group in SettingComponentCreationContext.Groups)
{ {
<TabPanel Name="@GetNormalizedString(group.Id)"> <TabPanel Name="@GetNormalizedString(group.Id)" class="abp-md-form">
<h2>@group.DisplayName</h2> <h2>@group.DisplayName</h2>
<Divider /> <Divider />

2
modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Index.js

@ -20,7 +20,7 @@
}).done(function (response) { }).done(function (response) {
$('#tab-content').children('.tab-pane').removeClass('show').removeClass('active'); $('#tab-content').children('.tab-pane').removeClass('show').removeClass('active');
_this.attr('data-bs-target', '#' + $.escapeSelector($.escapeSelector(id))); _this.attr('data-bs-target', '#' + $.escapeSelector($.escapeSelector(id)));
$('#tab-content').append('<div id=' + $.escapeSelector(id) + ' class="tab-pane fade active show">' + response + '</div>'); $('#tab-content').append('<div id=' + $.escapeSelector(id) + ' class="tab-pane fade active show abp-md-form">' + response + '</div>');
}) })
}); });
}).first().click(); }).first().click();

Loading…
Cancel
Save