wave-ui 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/wave-ui.es.js
CHANGED
|
@@ -1056,7 +1056,11 @@ const __vue2_script$M = {
|
|
|
1056
1056
|
const css = document.createElement("style");
|
|
1057
1057
|
css.id = "wave-ui-styles";
|
|
1058
1058
|
css.innerHTML = this.dynamicStyles();
|
|
1059
|
-
document.head.
|
|
1059
|
+
const firstStyle = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
|
|
1060
|
+
if (firstStyle)
|
|
1061
|
+
firstStyle.before(css);
|
|
1062
|
+
else
|
|
1063
|
+
document.head.appendChild(css);
|
|
1060
1064
|
}
|
|
1061
1065
|
this.getBreakpoint(window.innerWidth);
|
|
1062
1066
|
window.addEventListener("resize", this.getBreakpoint);
|