Web: People: fixed user list styles
This commit is contained in:
parent
d33895d8d5
commit
888d735790
@ -83,7 +83,7 @@ class ChangeUserStatusDialogComponent extends React.Component {
|
||||
render() {
|
||||
const { t, onClose, visible, userStatus } = this.props;
|
||||
const { listUsers, isRequestRunning, userIds } = this.state;
|
||||
const containerStyles = { height: 220 };
|
||||
const containerStyles = { height: listUsers.length * 25, maxHeight: 220 };
|
||||
const itemSize = 25;
|
||||
|
||||
const renderItems = memo(({ data, index, style }) => {
|
||||
|
@ -77,7 +77,7 @@ class ChangeUserTypeDialogComponent extends React.Component {
|
||||
const { visible, onClose, t, userType } = this.props;
|
||||
const { isRequestRunning, listUsers, userIds } = this.state;
|
||||
const itemSize = 25;
|
||||
const containerStyles = { height: 220 };
|
||||
const containerStyles = { height: listUsers.length * 25, maxHeight: 220 };
|
||||
|
||||
const renderItems = memo(({ data, index, style }) => {
|
||||
return (
|
||||
|
@ -83,7 +83,7 @@ class DeleteGroupUsersDialogComponent extends React.Component {
|
||||
const { t, onClose, visible } = this.props;
|
||||
const { isRequestRunning, userIds, listUsers } = this.state;
|
||||
const itemSize = 25;
|
||||
const containerStyles = { height: 220 };
|
||||
const containerStyles = { height: listUsers.length * 25, maxHeight: 220 };
|
||||
|
||||
const renderItems = memo(({ data, index, style }) => {
|
||||
return (
|
||||
|
@ -83,7 +83,7 @@ class SendInviteDialogComponent extends React.Component {
|
||||
const { t, onClose, visible } = this.props;
|
||||
const { listUsers, isRequestRunning, userIds } = this.state;
|
||||
const itemSize = 25;
|
||||
const containerStyles = { height: 220 };
|
||||
const containerStyles = { height: listUsers.length * 25, maxHeight: 220 };
|
||||
|
||||
const renderItems = memo(({ data, index, style }) => {
|
||||
return (
|
||||
@ -128,7 +128,6 @@ class SendInviteDialogComponent extends React.Component {
|
||||
<ToggleContent
|
||||
className="toggle-content-dialog"
|
||||
label={t("ShowUsersList")}
|
||||
isOpen
|
||||
>
|
||||
<div style={containerStyles} className="modal-dialog-content">
|
||||
<AutoSizer>{renderList}</AutoSizer>
|
||||
|
Loading…
Reference in New Issue
Block a user