react-phone-input-2
react-phone-input-2 copied to clipboard
Dropdown button on hover background colour should be applied on flag-dropdown instead of selected-flag
The div with class flag-dropdown
can be augmented with additional classes and styles thanks to the buttonClass
prop. While this can be used to modify the background colour, the background colour on hover is defined in the inner div with class selected-flag
. Removing it from there and adding it to flag-dropdown
would make it easier to customise.
https://codesandbox.io/s/kind-bush-rgyz7?file=/src/App.js
I have the same problem, would by happy to hear about a solution
Any ideas?
Use bootstrap theme, then overwrite what you want, worked for me.