chore(collapsible): use string instead of template literal for css

This commit is contained in:
Thomas Allmer 2020-09-28 14:44:52 +02:00 committed by Thomas Allmer
parent 6be72935cd
commit 52618dc539

View file

@ -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 });
}