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"> <span className="text-xs text-muted-foreground">
{index}. {index}.
</span> </span>
<h3 className="truncate font-medium"> <h3>
{productName} {productName}
</h3> </h3>
</div> </div>

View File

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

View File

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

View File

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

View File

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