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">
|
<span className="text-xs text-muted-foreground">
|
||||||
{index}.
|
{index}.
|
||||||
</span>
|
</span>
|
||||||
<h3 className="truncate font-medium">
|
<h3>
|
||||||
{productName}
|
{productName}
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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(', ')
|
||||||
: '-'}
|
: '-'}
|
||||||
|
|||||||
@ -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 && (
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user