We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9b5ce0 commit 5a76c01Copy full SHA for 5a76c01
1 file changed
packages/react-charts/src/victory/components/ChartTooltip/examples/ChartTooltipCssOverflow.tsx
@@ -13,11 +13,11 @@ interface PetData {
13
}
14
15
export const ChartTooltipCssOverflow: React.FunctionComponent = () => {
16
- const sheet = (() => {
+ const sheet = () => {
17
const style = document.createElement('style');
18
document.head.appendChild(style);
19
return style.sheet;
20
- })();
+ };
21
22
sheet.insertRule(
23
'.ws-react-charts-tooltip-overflow { margin-left: 50px; margin-top: 50px; height: 135px; }',
0 commit comments