diff --git a/src/plugins/permissionsViewer/styles.css b/src/plugins/permissionsViewer/styles.css index 910aee668..24a3c3294 100644 --- a/src/plugins/permissionsViewer/styles.css +++ b/src/plugins/permissionsViewer/styles.css @@ -32,17 +32,22 @@ .vc-permviewer-modal-container { width: 100%; - height: 100%; + height: min(760px, 80vh); + min-height: 0; display: flex; gap: 8px; + overflow: hidden; } .vc-permviewer-modal-list { display: flex; flex-direction: column; gap: 2px; + flex: 0 0 200px; + max-height: 100%; + min-height: 0; + overflow: auto; padding-right: 8px; - width: 200px; } .vc-permviewer-modal-list-item-btn { @@ -98,6 +103,11 @@ .vc-permviewer-modal-perms { display: flex; flex-direction: column; + flex: 1 1 0; + max-height: 100%; + min-width: 0; + min-height: 0; + overflow: auto; padding-right: 8px; } @@ -155,4 +165,4 @@ display: flex; align-items: center; gap: 4px; -} \ No newline at end of file +}