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

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zaknesler committed Jul 1, 2023
1 parent 168f5d2 commit 526f99b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const Nav: React.FC<NavProps> = ({ open, onToggle }) => {

<div className="flex flex-1 flex-wrap items-stretch justify-end gap-4">
<button
className="flex items-center justify-center self-center p-1.5 transition-colors hover:bg-gray-100 md:hidden"
className="flex items-center justify-center self-center p-1.5 transition-colors hover:bg-gray-100 print:hidden md:hidden"
onClick={onToggle}
>
{open ? (
Expand Down Expand Up @@ -87,7 +87,7 @@ export const Nav: React.FC<NavProps> = ({ open, onToggle }) => {
</Link>
))}
</div>
<Search expanded className="print:hidden" inputClassName="p-4" />
<Search expanded className="print:hidden" inputClassName="p-3" />
</div>
)}
</>
Expand Down
4 changes: 2 additions & 2 deletions src/components/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export const Search: React.FC<SearchProps> = ({
onChange={e => setQuery(e.target.value)}
onKeyDown={handleSubmit}
className={cx(
'w-full rounded-none border border-black p-2 text-sm leading-none outline-none transition-shadow focus:ring-4 focus:ring-gray-300',
!expanded && 'h-full max-w-xs flex-1 self-stretch',
'w-full rounded-none border border-black p-2 leading-none outline-none transition-shadow focus:ring-4 focus:ring-gray-300',
!expanded && 'h-full max-w-xs flex-1 self-stretch text-sm',
inputClassName,
)}
placeholder="Search for recipes..."
Expand Down

0 comments on commit 526f99b

Please sign in to comment.