tooltip
tooltip copied to clipboard
How to change tooltip background-color?
Using overlayClassName and overlayStyle it is changing the background-color, but with some white boundary. But i need all tooltip background with some different color. I'm not able to provide background-color to the rc-tooltip container. Please help me on this.
You can always modify the css or take the .less files from project, modify them and recompile them into your project
I'd also like this feature @jyotiarora2610
Customizing styling is a basic feature of a tooltip library. Sure i can
always modify the css or take the .less files from project, modify them and recompile them into your project
But forking the library to change the tooltip background? seriously?
@matthew-socialcore I know, just threw a workaround that came to my mind.
i did actually end up doing this @burtek and it wasn't that much work. I just needed to
- import rc-tooltip/assets/bootstrap_white.css
- restyle these classes: .rc-tooltip, .rc-tooltip-content, .rc-tooltip-arrow, .rc-tooltip-inner
So, apologies for the exaggeration!