We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4124c2 commit 424ef70Copy full SHA for 424ef70
src/components/Tooltip/Tooltip.tsx
@@ -585,6 +585,7 @@ const Tooltip = ({
585
className={classNames(
586
'react-tooltip',
587
coreStyles['tooltip'],
588
+ styles['tooltip'],
589
styles[variant],
590
className,
591
`react-tooltip__place-${actualPlacement}`,
src/components/Tooltip/core-styles.module.css
@@ -1,12 +1,8 @@
1
.tooltip {
2
visibility: hidden;
3
- width: max-content;
4
position: absolute;
5
top: 0;
6
left: 0;
7
- padding: 8px 16px;
8
- border-radius: 3px;
9
- font-size: 90%;
10
pointer-events: none;
11
opacity: 0;
12
transition: opacity 0.3s ease-out;
src/components/Tooltip/styles.module.css
@@ -1,3 +1,10 @@
+.tooltip {
+ padding: 8px 16px;
+ border-radius: 3px;
+ font-size: 90%;
+ width: max-content;
+}
+
.arrow {
width: 8px;
height: 8px;
0 commit comments