Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit be800a6

Browse files
committedJul 30, 2020
Fix issue #621, remove extra scroll bar on 'Add Group Modal'.
1 parent 2b1948d commit be800a6

File tree

1 file changed

+2
-10
lines changed
  • client/src/components/AddToGroupModal

1 file changed

+2
-10
lines changed
 

‎client/src/components/AddToGroupModal/index.jsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,7 @@ export default function AddToGroupModal({ onCancel, updateUser, user }) {
242242
<List
243243
className={style.groupsList}
244244
width={listWidth}
245-
height={
246-
filteredMyGroups.length > 10
247-
? 450
248-
: filteredMyGroups.length * 45
249-
}
245+
height={filteredMyGroups.length * 45}
250246
rowCount={filteredMyGroups.length}
251247
rowHeight={45}
252248
rowRenderer={(params) =>
@@ -269,11 +265,7 @@ export default function AddToGroupModal({ onCancel, updateUser, user }) {
269265
<List
270266
className={style.groupsList}
271267
width={listWidth}
272-
height={
273-
filteredOtherGroups.length > 10
274-
? 450
275-
: filteredOtherGroups.length * 45
276-
}
268+
height={filteredOtherGroups.length * 45}
277269
rowCount={filteredOtherGroups.length}
278270
rowHeight={45}
279271
rowRenderer={(params) =>

0 commit comments

Comments
 (0)
This repository has been archived.