From 67dc086b5a3ccd48d281868e95a7b03dc2c4b2ba Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 26 Oct 2022 19:18:59 +0200 Subject: [PATCH] found a good value --- frontend/src/ts/elements/input-indicator.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/ts/elements/input-indicator.ts b/frontend/src/ts/elements/input-indicator.ts index e17c8fc7e..297b58b95 100644 --- a/frontend/src/ts/elements/input-indicator.ts +++ b/frontend/src/ts/elements/input-indicator.ts @@ -30,8 +30,7 @@ export class InputIndicator { data-option-id="${optionId}" ${ - //todo: find a good value for this - (option.message?.length ?? 0) > 20 + (option.message?.length ?? 0) > 27 ? `data-balloon-length="large"` : "" }