diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-04-19 09:51:38 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-04-19 09:51:38 +0200 |
commit | 08ba9024f532554fe2135d2596f1169828b01e5f (patch) | |
tree | 3ec940a1fce58777449774a11942ccb6dffb24a8 /pages/search.tsx | |
parent | 5e664e0694a09cfb7b952dd4bd123cf921950ba0 (diff) |
login/register pages done + fullwidth css class edited
Diffstat (limited to 'pages/search.tsx')
-rw-r--r-- | pages/search.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/search.tsx b/pages/search.tsx index 6e52865..e874775 100644 --- a/pages/search.tsx +++ b/pages/search.tsx @@ -24,7 +24,7 @@ function search(callback: (results: Array<userInfo>) => void) { } function SearchResults(props: { userList: Array<userInfo>; }) { - return <div className='results'> + return <div className='results w100m2m'> {props.userList?.map(user => <SearchResult user={user} key={user.id} />)} </div>; } @@ -47,7 +47,7 @@ function SearchResult(props: { user: userInfo; }) { function SearchBar(props: { searchFunction: (event?: FormEvent<HTMLFormElement>) => void; }) { - return <Vierkant className='pad-m fullwidth searchBar'> + return <Vierkant className='pad-m w100m2m searchBar'> <form onSubmit={props.searchFunction}> <Input id='searchBar' |