diff --git a/src/compiler/compile/render_dom/wrappers/Element/Attribute.ts b/src/compiler/compile/render_dom/wrappers/Element/Attribute.ts index 7c174acb46..eb242e994b 100644 --- a/src/compiler/compile/render_dom/wrappers/Element/Attribute.ts +++ b/src/compiler/compile/render_dom/wrappers/Element/Attribute.ts @@ -212,7 +212,6 @@ export default class AttributeWrapper { const classNameStringArray = this.render_attr(); - if (!isStyled || classNameStringArray.length !== 2) { return classNameStringArray.join(' + '); } diff --git a/src/runtime/internal/utils.ts b/src/runtime/internal/utils.ts index 1aec30ef2f..3cef77e7be 100644 --- a/src/runtime/internal/utils.ts +++ b/src/runtime/internal/utils.ts @@ -92,4 +92,4 @@ export function once(fn) { export function class_name_resolver(nextClassName) { return nextClassName == undefined ? '' : nextClassName; -} \ No newline at end of file +}