style: ensure legacy indicators align with Vue indicators (#7458)

* style: ensure legacy indicators align with Vue indicators

* fix: move logic to `vueWrapHtmlElement` and use `u-contents` class
This commit is contained in:
Jesse Mazzella 2024-02-15 11:22:52 -08:00 committed by GitHub
parent 4fbccd4c91
commit 847232d64b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,8 @@ export default function vueWrapHtmlElement(element) {
});
// Render function returning the wrapper div
return () => h('div', { ref: wrapper });
// Use class 'u-contents' to set 'display: contents' of the parent div
return () => h('div', { ref: wrapper, class: 'u-contents' });
}
});
}