Merged PR 1922: feat(libs-shared-product-format): remove truncate class from format detail text

feat(libs-shared-product-format): remove truncate class from format detail text

Remove the 'truncate' class from the span element containing formatDetail()
to allow full text display without text clipping. This improves readability
when product format details contain longer descriptions.

Ref: #5301
This commit is contained in:
Nino Righi
2025-09-01 14:59:28 +00:00
committed by Andreas Schickinger
parent 46c70cae3e
commit cd1ff5f277

View File

@@ -6,7 +6,7 @@ import { ProductFormatIconComponent } from './product-format-icon.component';
template: `<shared-product-format-icon
[format]="format()"
></shared-product-format-icon>
<span class="isa-text-body-2-regular text-isa-secondary-900 truncate">
<span class="isa-text-body-2-regular text-isa-secondary-900">
{{ formatDetail() }}
</span>`,
changeDetection: ChangeDetectionStrategy.OnPush,