@flozy/editor 1.4.8 → 1.4.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -218,6 +218,9 @@ const Grid = props => {
|
|
218
218
|
const sectionId = id ? {
|
219
219
|
id
|
220
220
|
} : {};
|
221
|
+
const bgImage = backgroundImage && backgroundImage !== "none" ? {
|
222
|
+
backgroundImage: `url(${backgroundImage})`
|
223
|
+
} : {};
|
221
224
|
return /*#__PURE__*/_jsxs("div", {
|
222
225
|
className: `grid-container ${grid} has-hover element-root ${isDragging ? "dragging" : ""} ${isActiveDrag ? "active_drag" : ""}`,
|
223
226
|
...attributes,
|
@@ -225,7 +228,7 @@ const Grid = props => {
|
|
225
228
|
style: {
|
226
229
|
background: bgColor,
|
227
230
|
alignContent: vertical,
|
228
|
-
|
231
|
+
...bgImage,
|
229
232
|
borderColor: borderColor || "transparent",
|
230
233
|
borderWidth: borderWidth || "1px",
|
231
234
|
borderRadius: `${topLeft}px ${topRight}px ${bottomLeft}px ${bottomRight}px`,
|