@gem-sdk/components 2.5.0 → 2.5.1

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.
@@ -158,13 +158,15 @@ const Sticky = ({ children, builderAttrs, setting, style, builderProps })=>{
158
158
  margin: '0 auto',
159
159
  ...style,
160
160
  ...w,
161
- ...core.getStyleBackgroundByDevice(background),
162
161
  ...displayStyle(),
163
162
  ...positionStyle(),
164
163
  ...getCSSAlign(),
165
164
  zIndex: _const.ELEMENT_Z_INDEX.STICKY
166
165
  },
167
166
  children: /*#__PURE__*/ jsxRuntime.jsx("div", {
167
+ style: {
168
+ ...core.getStyleBackgroundByDevice(background)
169
+ },
168
170
  ...builderAttrs,
169
171
  "data-id": builderProps?.uid,
170
172
  "data-width": {
@@ -154,13 +154,15 @@ const Sticky = ({ children, builderAttrs, setting, style, builderProps })=>{
154
154
  margin: '0 auto',
155
155
  ...style,
156
156
  ...w,
157
- ...getStyleBackgroundByDevice(background),
158
157
  ...displayStyle(),
159
158
  ...positionStyle(),
160
159
  ...getCSSAlign(),
161
160
  zIndex: ELEMENT_Z_INDEX.STICKY
162
161
  },
163
162
  children: /*#__PURE__*/ jsx("div", {
163
+ style: {
164
+ ...getStyleBackgroundByDevice(background)
165
+ },
164
166
  ...builderAttrs,
165
167
  "data-id": builderProps?.uid,
166
168
  "data-width": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",