Files
react/packages/react-devtools-shared/src/devtools/views/Profiler/Tooltip.css
Brian Vaughn 7e770dae93 Profiler tooltip tweaks (#18082)
* Moved Profiler views into Profiler folder

* Tweaked Profiler tooltip CSS styles

* Tweaked Tooltip positioning code
2020-02-19 10:58:45 -08:00

25 lines
494 B
CSS

.Tooltip {
position: absolute;
pointer-events: none;
border: none;
border-radius: 0.25rem;
padding: 0.25rem 0.5rem;
font-family: var(--font-family-sans);
font-size: 12px;
background-color: var(--color-tooltip-background);
color: var(--color-tooltip-text);
opacity: 1;
/* Make sure this is above the DevTools, which are above the Overlay */
z-index: 10000002;
}
.Tooltip.hidden {
opacity: 0;
}
.Container {
width: -moz-max-content;
width: -webkit-max-content;
}