Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
StephDietz committed Apr 20, 2023
1 parent ae79a6c commit 94fdd05
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/cart/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function CartButton({
onClick={() => {
setCartIsOpen(true);
}}
className="relative top-0 right-0"
className="relative right-0 top-0"
data-testid="open-cart"
>
<CartIcon quantity={cart.totalQuantity} />
Expand Down
2 changes: 1 addition & 1 deletion components/grid/tile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function GridTileImage({
/>
) : null}
{labels ? (
<div className="absolute top-0 left-0 w-3/4 text-black dark:text-white">
<div className="absolute left-0 top-0 w-3/4 text-black dark:text-white">
<h3
data-testid="product-name"
className={clsx(
Expand Down
2 changes: 1 addition & 1 deletion components/layout/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default async function Footer() {
</a>
</div>
</div>
<div className="flex flex-col items-center justify-between space-y-4 pt-6 pb-10 text-sm md:flex-row">
<div className="flex flex-col items-center justify-between space-y-4 pb-10 pt-6 text-sm md:flex-row">
<p>
&copy; {copyrightDate} {SITE_NAME}. All rights reserved.
</p>
Expand Down
4 changes: 2 additions & 2 deletions components/layout/navbar/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ export default function Search() {
placeholder="Search for products..."
autoComplete="off"
defaultValue={searchParams?.get('q') || ''}
className="w-full py-2 px-4 text-black dark:bg-black dark:text-gray-100"
className="w-full px-4 py-2 text-black dark:bg-black dark:text-gray-100"
/>
<div className="absolute top-0 right-0 mr-3 flex h-full items-center">
<div className="absolute right-0 top-0 mr-3 flex h-full items-center">
<SearchIcon className="h-5" />
</div>
</form>
Expand Down

0 comments on commit 94fdd05

Please sign in to comment.