Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
clean up styling more
Browse files Browse the repository at this point in the history
  • Loading branch information
kevoconnell committed Aug 29, 2024
1 parent 4f7b8dd commit f1a1830
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions src/components/CastSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,10 @@ const CastSearch = ({ query }: { query: string }) => {
);

return (
<div className="w-full max-w-6xl mx-auto px-4 py-8">
<form onSubmit={handleSearch} className="space-y-4 mb-8">
<div className="flex flex-col sm:flex-row gap-4">
<div className="relative flex-grow">
<div className="w-full max-w-6xl mx-auto pb-8">
<form onSubmit={handleSearch} className="space-y-2 mb-4">
<div className="flex flex-col items-center sm:items-start sm:flex-row gap-4 w-full justify-between md:space-x-4">
<div className="relative w-1/2">
<Input
type="text"
value={username}
Expand Down Expand Up @@ -370,20 +370,16 @@ const CastSearch = ({ query }: { query: string }) => {
</div>
)}
</div>
<Input
type="text"
value={channelId}
onChange={(e) => setChannelId(e.target.value)}
onKeyDown={handleChannelIdKeyDown}
placeholder="Channel ID (optional)"
className="w-full sm:w-auto rounded-none"
/>
<button
type="submit"
className="w-full sm:w-auto bg-[#4C376C] rounded-none"
>
Search
</button>
<div className="w-1/2">
<Input
type="text"
value={channelId}
onChange={(e) => setChannelId(e.target.value)}
onKeyDown={handleChannelIdKeyDown}
placeholder="Channel ID (optional)"
className="w-full sm:w-auto rounded-none sm:min-w-96"
/>
</div>
</div>
</form>

Expand Down

0 comments on commit f1a1830

Please sign in to comment.