Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import SearchForm from './SearchForm';

const Navbar = () => {
return (
<div className="fixed w-full flex items-center gap-4 py-4 justify-center backdrop-blur-md z-10">
<div className="fixed left-0 right-0 w-full flex items-center gap-4 py-4 justify-center backdrop-blur-md z-10">
<Logo />
<SearchForm />
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/SearchForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ const SearchForm = () => {
};

return (
<form className="flex gap-2 w-1/2" onSubmit={handleSubmit}>
<form className="flex gap-2 w-[30rem]" onSubmit={handleSubmit}>
<label
className="flex items-center input input-sm input-bordered w-full"
style={{ outline: 'none', boxShadow: 'none' }}
>
<input
type="text"
className="grow placeholder:text-xs"
className="grow placeholder:text-xs "
placeholder="Type a domain..."
autoFocus
value={searchQuery}
Expand Down
Loading