@treely/strapi-slices 4.4.1 → 4.4.3
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/strapi-slices.cjs.development.js +4 -3
- package/dist/strapi-slices.cjs.development.js.map +1 -1
- package/dist/strapi-slices.cjs.production.min.js +1 -1
- package/dist/strapi-slices.cjs.production.min.js.map +1 -1
- package/dist/strapi-slices.esm.js +4 -3
- package/dist/strapi-slices.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/slices/MapHero/MapHero.tsx +1 -1
- package/src/slices/ProjectsGrid/ProjectsGrid.tsx +1 -2
|
@@ -1406,7 +1406,9 @@ var MapHero = function MapHero(_ref) {
|
|
|
1406
1406
|
var slice = _ref.slice;
|
|
1407
1407
|
var _useMediaQuery = useMediaQuery(BREAKPOINT_LG_QUERY),
|
|
1408
1408
|
belowBreakpoint = _useMediaQuery[0];
|
|
1409
|
-
return React.createElement(MapHeroContainer,
|
|
1409
|
+
return React.createElement(MapHeroContainer, {
|
|
1410
|
+
maxWidth: "full"
|
|
1411
|
+
}, slice.shape && React.createElement(ShapeContainer, null, React.createElement(Image, {
|
|
1410
1412
|
src: strapiMediaUrl(slice.shape.img, 'medium'),
|
|
1411
1413
|
alt: slice.shape.alt,
|
|
1412
1414
|
fill: true,
|
|
@@ -2738,11 +2740,10 @@ var ProjectsGrid = function ProjectsGrid(_ref2) {
|
|
|
2738
2740
|
}, children);
|
|
2739
2741
|
}
|
|
2740
2742
|
}, React.createElement(Box, {
|
|
2743
|
+
width: "full",
|
|
2741
2744
|
as: "a",
|
|
2742
2745
|
cursor: "pointer",
|
|
2743
2746
|
borderRadius: "2xl",
|
|
2744
|
-
width: "fit-content",
|
|
2745
|
-
height: "fit-content",
|
|
2746
2747
|
transition: "box-shadow ease " + MEDIUM_TRANSITION_DURATION + "s",
|
|
2747
2748
|
_hover: {
|
|
2748
2749
|
boxShadow: 'lg'
|