diff --git a/forms-flow-service/src/helpers/styleService.ts b/forms-flow-service/src/helpers/styleService.ts index 433a617d..48cf5efe 100644 --- a/forms-flow-service/src/helpers/styleService.ts +++ b/forms-flow-service/src/helpers/styleService.ts @@ -5,7 +5,7 @@ class StyleServices { element: HTMLElement = document.documentElement ): string { const value = getComputedStyle(element).getPropertyValue(variableName); - return value.trim(); + return value === '" "' ? "" : value; } }