@apify/ui-library 1.98.1 → 1.98.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/ui-library",
3
- "version": "1.98.1",
3
+ "version": "1.98.2",
4
4
  "description": "React UI library used by apify.com",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -64,5 +64,5 @@
64
64
  "src",
65
65
  "style"
66
66
  ],
67
- "gitHead": "872da6adec6a6dc7644fc9a422f90033cbb35aef"
67
+ "gitHead": "5c3b5f64c4675e693452f6755aaf3d8b3c4552c6"
68
68
  }
@@ -93,8 +93,8 @@ export const Tooltip = ({
93
93
  if (!rest.content && !shortcuts?.length && !imageUrl && !subtleText) return rest.children;
94
94
 
95
95
  const tooltipProps = {
96
- ...rest,
97
96
  isOpen: open,
97
+ ...rest,
98
98
  content: <TooltipContent
99
99
  content={tooltipSafeHtml(rest.content)}
100
100
  shortcuts={shortcuts}
@@ -63,6 +63,11 @@ const StyledContent = styled.div<{ $size: TooltipSize, $textAlign: TooltipTextAl
63
63
  display: flex;
64
64
  gap: ${theme.space.space4};
65
65
  }
66
+
67
+ /* To prevent <code /> from having scrollbars on windows */
68
+ code {
69
+ overflow: hidden;
70
+ }
66
71
  }
67
72
  `;
68
73