Fix vertical scrolling issue

This commit is contained in:
R Midhun Suresh
2024-12-17 17:45:39 +05:30
parent e78f6ba01f
commit 87e608ef1c
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ Please see LICENSE files in the repository root for full details.
.mx_MemberListHeaderView {
border-bottom: var(--cpd-border-width-1) solid var(--cpd-color-gray-400);
max-height: 112px;
.mx_MemberListHeaderView_container {
margin-top: var(--cpd-space-6x);

View File

@@ -69,7 +69,8 @@ const MemberListView: React.FC<IProps> = (props: IProps) => {
rowRenderer={rowRenderer}
rowHeight={56}
rowCount={memberCount}
height={height}
// Subtract the height of MemberlistHeaderView so that the parent div does not overflow
height={height - 113}
width={width}
/>
)}