Skip to content

Commit 0a3eb2b

Browse files
committed
Ensure at least 2 user rows are visible in the users table on short screens
1 parent ea52f7b commit 0a3eb2b

File tree

1 file changed

+1
-2
lines changed
  • application/account-management/WebApp/routes/admin/users/-components

1 file changed

+1
-2
lines changed

application/account-management/WebApp/routes/admin/users/-components/UserTable.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ interface UserTableProps {
3535
isProfileOpen?: boolean;
3636
}
3737

38-
// biome-ignore lint/complexity/noExcessiveCognitiveComplexity: Component handles complex table interactions including sorting, selection, pagination and infinite scroll
3938
export function UserTable({
4039
selectedUsers,
4140
onSelectedUsersChange,
@@ -215,7 +214,7 @@ export function UserTable({
215214

216215
return (
217216
<>
218-
<div className={isMobile ? "flex-1" : "min-h-0 flex-1"}>
217+
<div className="min-h-48 flex-1">
219218
<Table
220219
key={pageOffset}
221220
selectionMode={isTouchDevice() || !isMediumViewportOrLarger() ? "single" : "multiple"}

0 commit comments

Comments
 (0)