We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a291f2f + 25590be commit 428f4a8Copy full SHA for 428f4a8
package/src/web-component-util.js
@@ -60,7 +60,7 @@ export const defineCustomElement = ({
60
if (styles?.length) {
61
this.__style = document.createElement('style')
62
this.__style.innerText = styles.join().replace(/\n/g, '')
63
- nearestElement(this.$el).prepend(this.__style)
+ nearestElement(this.$el).append(this.__style)
64
}
65
66
0 commit comments