diff --git a/webapp/src/app/custom-directives/sk-text.directive.ts b/webapp/src/app/custom-directives/sk-text.directive.ts index 4884dde1..ee40a977 100644 --- a/webapp/src/app/custom-directives/sk-text.directive.ts +++ b/webapp/src/app/custom-directives/sk-text.directive.ts @@ -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%)'); diff --git a/webapp/src/app/modules/person/person.component.html b/webapp/src/app/modules/person/person.component.html index f2c6616f..08b3ad67 100644 --- a/webapp/src/app/modules/person/person.component.html +++ b/webapp/src/app/modules/person/person.component.html @@ -48,13 +48,16 @@