From 52618dc5394c412bee45d474ec73819aebe0ea14 Mon Sep 17 00:00:00 2001 From: Thomas Allmer Date: Mon, 28 Sep 2020 14:44:52 +0200 Subject: [PATCH] chore(collapsible): use string instead of template literal for css --- packages/collapsible/demo/CustomCollapsible.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/collapsible/demo/CustomCollapsible.js b/packages/collapsible/demo/CustomCollapsible.js index 560334606..ebc799b33 100644 --- a/packages/collapsible/demo/CustomCollapsible.js +++ b/packages/collapsible/demo/CustomCollapsible.js @@ -71,7 +71,7 @@ export class CustomCollapsible extends LionCollapsible { if (this._contentHeight === '0px') { return; } - ['opacity', 'padding', 'max-height'].map(prop => contentNode.style.setProperty(prop, `${0}`)); + ['opacity', 'padding', 'max-height'].map(prop => contentNode.style.setProperty(prop, '0')); await this._waitForTransition({ contentNode }); }