@cntrl-site/sdk-nextjs 0.16.8 → 0.16.9

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.
@@ -115,7 +115,7 @@ const Item = ({ item, sectionId, articleHeight }) => {
115
115
  top: ${sticky ? `${(0, getAnchoredItemTop_1.getAnchoredItemTop)(area.top - sticky.from, sectionHeight, area.anchorSide)}` : 0};
116
116
  pointer-events: auto;
117
117
  cursor: ${hoverParams ? 'pointer' : 'default'};
118
- visibility: ${hidden ? 'hidden' : 'visible'};
118
+ display: ${hidden ? 'none' : 'block'};
119
119
  height: fit-content;
120
120
  }
121
121
  .item-${item.id}-inner {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk-nextjs",
3
- "version": "0.16.8",
3
+ "version": "0.16.9",
4
4
  "description": "SDK for Next.js",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.ts",
@@ -160,7 +160,7 @@ export const Item: FC<ItemWrapperProps> = ({ item, sectionId, articleHeight }) =
160
160
  top: ${sticky ? `${getAnchoredItemTop(area.top - sticky.from, sectionHeight, area.anchorSide)}` : 0};
161
161
  pointer-events: auto;
162
162
  cursor: ${hoverParams ? 'pointer' : 'default'};
163
- visibility: ${hidden ? 'hidden' : 'visible'};
163
+ display: ${hidden ? 'none' : 'block'};
164
164
  height: fit-content;
165
165
  }
166
166
  .item-${item.id}-inner {