center items in nav bar of git repos

This commit is contained in:
Vivian Phung 2024-02-27 00:00:52 -05:00
parent 6c38094093
commit 8ce531274d
No known key found for this signature in database

View File

@ -109,7 +109,7 @@ const RepositoryList = ({ octokit }: RepositoryListProps) => {
return ( return (
<div className="p-4"> <div className="p-4">
<div className="flex gap-2 mb-2"> <div className="flex gap-2 mb-2 items-center">
<div className="basis-1/3"> <div className="basis-1/3">
<AsyncSelect <AsyncSelect
value={selectedAccount} value={selectedAccount}
@ -124,7 +124,7 @@ const RepositoryList = ({ octokit }: RepositoryListProps) => {
))} ))}
</AsyncSelect> </AsyncSelect>
</div> </div>
<div className="basis-2/3"> <div className="basis-2/3 flex-grow flex items-center">
<SearchBar <SearchBar
value={searchedRepo} value={searchedRepo}
onChange={(event) => setSearchedRepo(event.target.value)} onChange={(event) => setSearchedRepo(event.target.value)}