From 210ebc9b006bc675f43a6ade2cb57b96dab0a29b Mon Sep 17 00:00:00 2001 From: Axel Lorens Date: Fri, 13 Dec 2024 11:05:09 -0800 Subject: [PATCH] added table feature --- src/app/shared/forms/planet-tag-selected-input.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/shared/forms/planet-tag-selected-input.component.ts b/src/app/shared/forms/planet-tag-selected-input.component.ts index 10bcb4a41a..afc3d4308d 100644 --- a/src/app/shared/forms/planet-tag-selected-input.component.ts +++ b/src/app/shared/forms/planet-tag-selected-input.component.ts @@ -41,7 +41,8 @@ export class PlanetTagSelectedInputComponent implements OnChanges { } get truncatedTooltip(): string { - const maxLength = this.deviceType === this.deviceTypes.DESKTOP ? 50 : 20; + const maxLength = this.deviceType === this.deviceTypes.DESKTOP ? 50 : + this.deviceType === this.deviceTypes.TABLET ? 35 : 20; return this.tooltipLabels.length > maxLength ? this.tooltipLabels.slice(0, maxLength) + '...' : this.tooltipLabels;