@bizy/core 19.13.1 → 19.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7467,11 +7467,16 @@ class BizyTooltipDirective {
7467
7467
  this.#renderer.setStyle(this.#elementRef.nativeElement, 'min-width', '0');
7468
7468
  this.#renderer.setStyle(this.#elementRef.nativeElement, 'overflow', 'hidden');
7469
7469
  this.#renderer.setStyle(this.#elementRef.nativeElement, 'text-overflow', 'ellipsis');
7470
- this.#renderer.setStyle(this.#elementRef.nativeElement, 'display', '-webkit-box');
7471
- this.#renderer.setStyle(this.#elementRef.nativeElement, 'line-clamp', this.#lineClamp);
7472
- this.#renderer.setStyle(this.#elementRef.nativeElement, '-webkit-line-clamp', this.#lineClamp);
7473
- this.#renderer.setStyle(this.#elementRef.nativeElement, '-webkit-box-orient', 'vertical');
7474
- this.#renderer.setStyle(this.#elementRef.nativeElement, 'max-height', `calc(${this.#lineClamp} * ${computedStyle.lineHeight})`);
7470
+ if (lineClamp === 1) {
7471
+ this.#renderer.setStyle(this.#elementRef.nativeElement, 'white-space', 'nowrap');
7472
+ }
7473
+ else {
7474
+ this.#renderer.setStyle(this.#elementRef.nativeElement, 'display', '-webkit-box');
7475
+ this.#renderer.setStyle(this.#elementRef.nativeElement, 'line-clamp', this.#lineClamp);
7476
+ this.#renderer.setStyle(this.#elementRef.nativeElement, '-webkit-line-clamp', this.#lineClamp);
7477
+ this.#renderer.setStyle(this.#elementRef.nativeElement, '-webkit-box-orient', 'vertical');
7478
+ this.#renderer.setStyle(this.#elementRef.nativeElement, 'max-height', `calc(${this.#lineClamp} * ${computedStyle.lineHeight})`);
7479
+ }
7475
7480
  }
7476
7481
  set tooltipText(tooltipText) {
7477
7482
  if (!tooltipText) {