From 323acaafd2659566e09b177cd6bab2e0ad1b4244 Mon Sep 17 00:00:00 2001 From: Hy Nguyen Date: Fri, 18 Oct 2024 02:58:26 -0500 Subject: [PATCH] /profile: place text on left for placeholder texts in empty containers --- app/components/Footer.tsx | 2 +- .../product.$productID/other_products/OtherProductCard.tsx | 2 +- app/routes/profile/orders/MyOrders.tsx | 4 +--- app/routes/profile/reviews/MyReviews.tsx | 4 +--- app/routes/profile/wishlist/MyWishlist.tsx | 2 +- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx index c3bb6c3..a9ac11d 100644 --- a/app/components/Footer.tsx +++ b/app/components/Footer.tsx @@ -3,7 +3,7 @@ import { Link } from "@remix-run/react"; export default function Footer() { return (
-
+

© {new Date().getFullYear()} TOYSHOP

Disclaimer: This is a diff --git a/app/routes/product.$productID/other_products/OtherProductCard.tsx b/app/routes/product.$productID/other_products/OtherProductCard.tsx index 18e382d..864347e 100644 --- a/app/routes/product.$productID/other_products/OtherProductCard.tsx +++ b/app/routes/product.$productID/other_products/OtherProductCard.tsx @@ -40,7 +40,7 @@ export default function OtherProductCard({ product }: Props) {
{ window.scrollTo({ top: 0, behavior: "smooth" }); }} diff --git a/app/routes/profile/orders/MyOrders.tsx b/app/routes/profile/orders/MyOrders.tsx index 10ebabf..f037d07 100644 --- a/app/routes/profile/orders/MyOrders.tsx +++ b/app/routes/profile/orders/MyOrders.tsx @@ -62,9 +62,7 @@ export default function MyOrders({ ordersData }: Props) {

{orders.length === 0 ? ( -

- No orders found. -

+

No orders found.

) : null} {orders.map((order) => (