cleek 2.4.19 → 2.4.20
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/cleek.es.js +6 -0
- package/dist/cleek.umd.js +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -18818,6 +18818,12 @@ var hooks8 = {
|
|
|
18818
18818
|
if (realWidthBreaks.length === 2 && typeof realWidthBreaks[0] === "number" && typeof realWidthBreaks[1] === "string") {
|
|
18819
18819
|
realWidthBreaks = [realWidthBreaks];
|
|
18820
18820
|
}
|
|
18821
|
+
if (realWidthBreaks.length) {
|
|
18822
|
+
const first = realWidthBreaks[0];
|
|
18823
|
+
if (first[0] !== 0) {
|
|
18824
|
+
realWidthBreaks.unshift([0, "100%"]);
|
|
18825
|
+
}
|
|
18826
|
+
}
|
|
18821
18827
|
let finalWidth = "";
|
|
18822
18828
|
realWidthBreaks.forEach((widthBreak) => {
|
|
18823
18829
|
const [windowBreak, width] = widthBreak;
|