minimal width for loading skeleton directive adjusted

This commit is contained in:
2026-06-09 01:31:29 +02:00
parent bd958d1621
commit 68f239e808
@@ -24,7 +24,7 @@ export class SkTextDirective implements OnChanges {
this.originalColor = el.style.color;
// measure natural width before blanking text
const width = Math.min(Math.max(this.originalText.length * 7.5, 48), 280);
const width = Math.min(Math.max(this.originalText.length * 7.5, 48), 60);
const height = 20;
this.renderer.setStyle(el, 'color', 'transparent');
this.renderer.setStyle(el, 'background', 'linear-gradient(90deg, #e2e8f0 25%, #f8fafc 50%, #e2e8f0 75%)');