feat: remove truncation and font styling from headings in various card components for consistency
This commit is contained in:
parent
b846219b9d
commit
7c160cb571
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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(', ')
|
||||
: '-'}
|
||||
|
||||
@ -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 && (
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user