From 6219ce5ab328b7dcd0cb7a4c4123c6ae50471d1e Mon Sep 17 00:00:00 2001 From: apoorvlathey Date: Tue, 11 Oct 2022 12:39:50 +0530 Subject: [PATCH] make select dapp modal responsive --- src/components/Body/index.tsx | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/src/components/Body/index.tsx b/src/components/Body/index.tsx index 8b32cfa..e611437 100644 --- a/src/components/Body/index.tsx +++ b/src/components/Body/index.tsx @@ -41,7 +41,7 @@ import { ModalHeader, ModalCloseButton, ModalBody, - Grid, + SimpleGrid, GridItem, Image, Spinner, @@ -835,7 +835,9 @@ function Body() { backdropFilter="auto" backdropBlur="3px" /> - + Select a dapp @@ -851,7 +853,7 @@ function Body() { )} - + {safeDapps && safeDapps[networkIndex] && (
@@ -862,20 +864,22 @@ function Body() { setSearchSafeDapp(e.target.value) } /> - - - + {searchSafeDapp && ( + + + + )}
)} - + {filteredSafeDapps && filteredSafeDapps.map((dapp, i) => ( ))} - +