Browse Source

Remove inner scroll from PermissionManagementModal MudTabs

The custom Style="max-height: 600px; overflow-y: auto;" on MudTabs produced an inner
scrollbar in addition to mud-dialog's own scrollbar, resulting in a double scrolling
experience inside the permissions modal. Let mud-dialog handle overflow natively.
pull/25393/head
maliming 6 days ago
parent
commit
7a7004ca9a
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 3
      modules/permission-management/src/Volo.Abp.PermissionManagement.Blazor.MudBlazor/Components/PermissionManagementModal.razor

3
modules/permission-management/src/Volo.Abp.PermissionManagement.Blazor.MudBlazor/Components/PermissionManagementModal.razor

@ -35,8 +35,7 @@
<MudTabs @bind-ActivePanelIndex="@_activeTabIndex"
Variant="Variant.Pills"
Position="Position.Left"
PanelClass="pa-4"
Style="max-height: 600px; overflow-y: auto;">
PanelClass="pa-4">
@foreach (var group in _groups)
{
<MudTabPanel Text="@($"{group.DisplayName} ({group.Permissions.Count(x => x.IsGranted)})")">

Loading…
Cancel
Save