Skip to content

Commit

Permalink
update in getCssvariable utility
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay-aot committed Dec 6, 2024
1 parent c8bb794 commit 292fd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms-flow-service/src/helpers/styleService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class StyleServices {
element: HTMLElement = document.documentElement
): string {
const value = getComputedStyle(element).getPropertyValue(variableName);
return value.trim();
return value === '" "' ? "" : value;
}
}

Expand Down

0 comments on commit 292fd9c

Please sign in to comment.