feat: remove truncation and font styling from headings in various card components for consistency

This commit is contained in:
Yoga Pangestu 2026-08-14 21:59:05 +07:00
parent b846219b9d
commit 7c160cb571
5 changed files with 5 additions and 5 deletions

View File

@ -143,7 +143,7 @@ export function CuttingCardRow({
<span className="text-xs text-muted-foreground">
{index}.
</span>
<h3 className="truncate font-medium">
<h3>
{productName}
</h3>
</div>

View File

@ -52,7 +52,7 @@ export function PurchaseCardRow({
<span className="text-xs text-muted-foreground">
{index}.
</span>
<h3 className="truncate font-medium">
<h3>
{purchase.supplier?.name ?? '-'}
</h3>
</div>

View File

@ -67,7 +67,7 @@ export function RestockCardRow({
<span className="text-xs text-muted-foreground">
{index}.
</span>
<h3 className="truncate font-medium">
<h3>
{productNames.length > 0
? productNames.join(', ')
: '-'}

View File

@ -92,7 +92,7 @@ export function ProductCardRow({
<span className="text-xs text-muted-foreground">
{index}.
</span>
<h3 className="truncate font-medium">
<h3>
{product.name}
</h3>
{isPending && (

View File

@ -52,7 +52,7 @@ export function RawMaterialCardRow({
<span className="text-xs text-muted-foreground">
{index}.
</span>
<h3 className="truncate font-medium">
<h3>
{rawMaterial.name}
</h3>
</div>