From ab2f8d718c14c7dc0b7913e1beb8654b3ff111f3 Mon Sep 17 00:00:00 2001 From: Kevin O'Connell Date: Wed, 16 Oct 2024 10:51:39 -0700 Subject: [PATCH] fix height --- src/components/CastSearch.tsx | 3 +-- src/components/NetworkResponse.tsx | 8 +++----- src/components/UserSearch.tsx | 3 +-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/components/CastSearch.tsx b/src/components/CastSearch.tsx index 736bcdd..8d097da 100644 --- a/src/components/CastSearch.tsx +++ b/src/components/CastSearch.tsx @@ -110,8 +110,7 @@ const CastSearch = ({ color: 'white', maxWidth: '100%', minWidth: '400px', - minHeight: '400px', - maxHeight: '100%', + maxHeight: '1000px', overflowX: 'hidden', display: 'flex', flexDirection: 'row', diff --git a/src/components/NetworkResponse.tsx b/src/components/NetworkResponse.tsx index b058ccc..0d0a3c8 100644 --- a/src/components/NetworkResponse.tsx +++ b/src/components/NetworkResponse.tsx @@ -352,7 +352,7 @@ const NetworkResponse = ({ identifier }: any) => { )} -
+
{hash && isFollowSyntax(hash) ? null : hash && !extractUsernameFromUrl(hash) ? ( { color: 'white', maxWidth: '100%', minWidth: '400px', - minHeight: '400px', - maxHeight: '100%', + maxHeight: '1000px', overflowX: 'hidden', + overflowY: 'auto', display: 'flex', flexDirection: 'row', border: 'none', @@ -384,8 +384,6 @@ const NetworkResponse = ({ identifier }: any) => { color: 'white', maxWidth: '100%', minWidth: '400px', - minHeight: '400px', - maxHeight: '100%', overflowX: 'hidden', display: 'flex', flexDirection: 'row', diff --git a/src/components/UserSearch.tsx b/src/components/UserSearch.tsx index 4b6b4f8..665a359 100644 --- a/src/components/UserSearch.tsx +++ b/src/components/UserSearch.tsx @@ -91,8 +91,7 @@ const UserSearch = ({ searchQuery }: { searchQuery: string }) => { color: 'white', maxWidth: '100%', minWidth: '400px', - minHeight: '400px', - maxHeight: '100%', + maxHeight: '1000px', overflowX: 'hidden', display: 'flex', flexDirection: 'row',