Skip to content

Commit 3d8ffe3

Browse files
authored
Merge pull request #22865 from abpframework/setting-feature-page
Enhance layout of feature and setting management modals.
2 parents 736443d + 59f55f9 commit 3d8ffe3

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/Components/FeatureManagementModal.razor

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@
1717
<ModalBody>
1818
<Tabs TabPosition="TabPosition.Start" Pills="true" @bind-SelectedTab="@SelectedTabName">
1919
<Items>
20-
@foreach (var group in Groups)
21-
{
22-
<Tab Name="@GetNormalizedGroupName(group.Name)">
23-
<span>@group.DisplayName</span>
24-
</Tab>
25-
}
20+
<div class="pt-3">
21+
@foreach (var group in Groups)
22+
{
23+
<Tab Name="@GetNormalizedGroupName(group.Name)">
24+
<span>@group.DisplayName</span>
25+
</Tab>
26+
}
27+
</div>
2628
</Items>
2729
<Content>
2830
@for (var i = 0; i < Groups.Count; i++)
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
#FeaturesTabsContent {
2+
padding-top: 0 !important;
3+
}
4+
15
.custom-scroll-content {
26
max-height: 400px;
37
}
48

59
.custom-scroll-container > .col-md-4 {
610
max-height: 500px;
7-
}
11+
}

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,22 @@
1111
</PageHeader>
1212

1313
<Card>
14-
<CardBody>
14+
<CardBody Class="pt-0">
1515
<Tabs @bind-SelectedTab="@SelectedGroup" TabPosition="TabPosition.Start" Pills="true" RenderMode="TabsRenderMode.LazyReload" VerticalItemsColumnSize="ColumnSize.Is3.OnDesktop.Is6.OnTablet.Is12.OnMobile">
1616
<Items>
17-
@foreach (var group in SettingComponentCreationContext.Groups)
18-
{
19-
<Tab Name="@GetNormalizedString(group.Id)">
20-
@group.DisplayName
21-
</Tab>
22-
}
17+
<div class="pt-3">
18+
@foreach (var group in SettingComponentCreationContext.Groups)
19+
{
20+
<Tab Name="@GetNormalizedString(group.Id)">
21+
@group.DisplayName
22+
</Tab>
23+
}
24+
</div>
2325
</Items>
2426
<Content>
2527
@foreach (var group in SettingComponentCreationContext.Groups)
2628
{
2729
<TabPanel Name="@GetNormalizedString(group.Id)" class="abp-md-form">
28-
2930
@{
3031
SettingItemRenders.Add(builder =>
3132
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</ul>
3636
</div>
3737
<div class="col-md-9">
38-
<div class="tab-content" id="tab-content">
38+
<div class="tab-content pt-0" id="tab-content">
3939
</div>
4040
</div>
4141
</div>

0 commit comments

Comments
 (0)