From a26084b976475d835ab1ba3722c0953acdab2596 Mon Sep 17 00:00:00 2001 From: Bill Date: Wed, 16 Mar 2022 13:58:11 -0400 Subject: [PATCH] Fix css issue in room rights --- src/components/navigator/NavigatorView.scss | 3 +-- .../NavigatorRoomSettingsRightsTabView.tsx | 26 ++++++++++--------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/components/navigator/NavigatorView.scss b/src/components/navigator/NavigatorView.scss index 76adf929..22b513ce 100644 --- a/src/components/navigator/NavigatorView.scss +++ b/src/components/navigator/NavigatorView.scss @@ -52,8 +52,7 @@ width: 400px; .list-container { - min-height: 100px; - max-height: 100px; + height: 100px; .list-item { background-color: $grid-active-bg-color; diff --git a/src/components/navigator/views/room-settings/views/NavigatorRoomSettingsRightsTabView.tsx b/src/components/navigator/views/room-settings/views/NavigatorRoomSettingsRightsTabView.tsx index 902ae41d..0014543c 100644 --- a/src/components/navigator/views/room-settings/views/NavigatorRoomSettingsRightsTabView.tsx +++ b/src/components/navigator/views/room-settings/views/NavigatorRoomSettingsRightsTabView.tsx @@ -23,22 +23,24 @@ export const NavigatorRoomSettingsRightsTabView: FC + { LocalizeText('navigator.flatctrls.userswithrights', [ 'displayed', 'total' ], [ roomSettingsData.usersWithRights.size.toString(), roomSettingsData.usersWithRights.size.toString() ]) } - - { Array.from(roomSettingsData.usersWithRights.entries()).map(([id, name], index) => - { - return ( - - - removeUserRights(id) }> { name } - - ); - }) } - + + + { Array.from(roomSettingsData.usersWithRights.entries()).map(([id, name], index) => + { + return ( + + + removeUserRights(id) }> { name } + + ); + }) } + +