@treely/strapi-slices 8.0.1 → 8.0.2
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/index.cjs +2 -8
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +2 -8
- package/dist/index.js.map +2 -2
- package/dist/slices/Facts/Facts.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6226,22 +6226,16 @@ var Facts = ({ slice }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
|
6226
6226
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
6227
6227
|
import_boemly41.Flex,
|
|
6228
6228
|
{
|
|
6229
|
-
justifyContent: slice.facts.length
|
|
6229
|
+
justifyContent: slice.facts.length < 3 ? "center" : "flex-start",
|
|
6230
6230
|
alignItems: "center",
|
|
6231
6231
|
flexWrap: "wrap",
|
|
6232
6232
|
mx: [null, null, null, "22", "28"],
|
|
6233
6233
|
flexDir: ["column", null, null, "row"],
|
|
6234
|
-
gap: [null, null, null, "12"],
|
|
6235
6234
|
children: slice.facts.map((fact) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
6236
6235
|
import_boemly41.Flex,
|
|
6237
6236
|
{
|
|
6238
6237
|
flexDir: "column",
|
|
6239
|
-
width: [
|
|
6240
|
-
"var(--boemly-sizes-full)",
|
|
6241
|
-
null,
|
|
6242
|
-
null,
|
|
6243
|
-
"calc((var(--boemly-sizes-full) - var(--boemly-space-24))/ 3 )"
|
|
6244
|
-
],
|
|
6238
|
+
width: ["100%", null, null, "calc(100% / 3)"],
|
|
6245
6239
|
mt: ["8", "8", "8", slice.facts.length > 3 ? "16" : "0"],
|
|
6246
6240
|
children: [
|
|
6247
6241
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|