From abb9bf8ec403242b74542e7b1fe3eaa0f8675866 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Sun, 10 Oct 2021 20:21:48 +0100 Subject: [PATCH] Fix layout when both crates and users are returned --- chartered-frontend/src/util.tsx | 2 +- chartered-frontend/src/pages/Search.tsx | 7 ++++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/chartered-frontend/src/util.tsx b/chartered-frontend/src/util.tsx index 93dfab4..8bab153 100644 --- a/chartered-frontend/src/util.tsx +++ a/chartered-frontend/src/util.tsx @@ -95,7 +95,7 @@ } else { return (
); diff --git a/chartered-frontend/src/pages/Search.tsx b/chartered-frontend/src/pages/Search.tsx index ecab1a1..0b68bfc 100644 --- a/chartered-frontend/src/pages/Search.tsx +++ a/chartered-frontend/src/pages/Search.tsx @@ -83,11 +83,10 @@ return (
-
+
{results.users.map((user, i) => ( - + +
-- rgit 0.1.3