Browse Source
Merge pull request #22580 from abpframework/feature-management
Fix Feature management modal scrollbar issue
pull/22595/head
Engincan VESKE
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
11 additions and
2 deletions
-
modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Pages/FeatureManagement/FeatureManagementModal.cshtml
-
modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Pages/FeatureManagement/feature-management-modal.css
-
modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Pages/FeatureManagement/feature-management-modal.js
|
|
|
@ -21,6 +21,7 @@ |
|
|
|
} |
|
|
|
|
|
|
|
<abp-script src="/Pages/FeatureManagement/feature-management-modal.js" /> |
|
|
|
<abp-style src="/Pages/FeatureManagement/feature-management-modal.css" /> |
|
|
|
|
|
|
|
<form method="post" asp-page="/FeatureManagement/FeatureManagementModal" data-script-class="abp.modals.FeatureManagement" id="FeatureManagementForm"> |
|
|
|
<abp-modal id="featureManagmentModal" size="Large"> |
|
|
|
@ -39,7 +40,7 @@ |
|
|
|
<abp-tab title="@featureGroup.DisplayName" name="v-pills-tab-@featureGroup.GetNormalizedGroupName()"> |
|
|
|
<h4>@featureGroup.DisplayName</h4> |
|
|
|
<hr class="mt-2 mb-3"/> |
|
|
|
<div class="custom-scroll-content"> |
|
|
|
<div class="custom-scroll-content" style="height: 400px;"> |
|
|
|
<div class="pl-1 pt-1"> |
|
|
|
@for (var j = 0; j < featureGroup.Features.Count; j++) |
|
|
|
{ |
|
|
|
|
|
|
|
@ -0,0 +1,8 @@ |
|
|
|
.custom-scroll-content { |
|
|
|
max-height: 400px; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.custom-scroll-container > .col-md-4 { |
|
|
|
max-height: 500px; |
|
|
|
} |
|
|
|
@ -88,7 +88,7 @@ var abp = abp || {}; |
|
|
|
$('.custom-scroll-content').mCustomScrollbar({ |
|
|
|
theme: 'minimal-dark', |
|
|
|
}); |
|
|
|
$('.custom-scroll-container > .col-4').mCustomScrollbar({ |
|
|
|
$('.custom-scroll-container > .col-md-4').mCustomScrollbar({ |
|
|
|
theme: 'minimal-dark', |
|
|
|
}); |
|
|
|
}); |
|
|
|
|