feat/ui:product detail font size

This commit is contained in:
riverLethe committed 2025-07-25 23:43:11 +08:00
1 parent ac849ce4dd
commit 4d26a793a3
3 files changed
+5 -8

No files matched your search

+1 -4
View File
@@ -1,9 +1,6 @@
import React, { Suspense } from "react";
import { MarketplaceMain } from "@/components/marketplace/Main";
import React from "react";
import type { Metadata } from "next";
import { createBaseMetadata, getDynamicTitle } from "@/shared/utils/metadata";
import { Navigation } from "@/shared/components/Navigation";
import { Footer } from "@/shared/components/Footer";
import { fetchServices } from "@/services/marketplaceService";
import type { ServiceData } from "@/shared/types/marketplace";
import { ThemeSelector } from "@/components/theme/ThemeSelector";
@@ -84,7 +84,7 @@ export const Detail: React.FC<DetailProps> = ({
))}
</div>
)}
<p className="text-lg mb-4">
<p className="text-sm mb-4">
{product.short_description ||
t("No description available")}
</p>
@@ -94,7 +94,7 @@ export const Detail: React.FC<DetailProps> = ({
{/* Price section */}
{product.charge_type && (
<div className="flex gap-2 items-center">
<b className="text-xs">{t("Price")}:</b>
<b className="text-md">{t("Price")}:</b>
<Price
price={product.price}
charge_type={product.charge_type}
@@ -63,7 +63,7 @@ export const ProductHeader: React.FC<ProductHeaderProps> = ({
))}
</div>
)}
<p className="text-lg mb-4">
<p className="text-sm mb-4">
{product.short_description || t("No description available")}
</p>
</div>
@@ -72,7 +72,7 @@ export const ProductHeader: React.FC<ProductHeaderProps> = ({
{/* Price section */}
{product.charge_type && (
<div className="flex gap-2 items-center">
<b className="text-xs">{t("Price")}:</b>
<b className="text-md">{t("Price")}:</b>
<Price price={product.price} charge_type={product.charge_type} />
</div>
)}