PermissionViewer: fix scrolling behaviour (#4341)

This commit is contained in:
qrewy 2026-07-20 01:19:19 +03:00 • committed by GitHub
parent b07a4cfdc9
commit b9e08dc63b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}
}