How to hide dropdowns in panel header

Hey

I have asked this question on StackOverflow - https://stackoverflow.com/q/58832009/4495634
posting here to get some response as I didn’t get any on StackOverflow.

How can I hide/remove the dropdown which appears on hovering mouse on panels when viewing in kiosk mode. Below are the screenshots of dropdown which I want to hide.

I am working on a forked grafana with my custom panel plugins. I can remove it directly from the grafana code as I am working on forked grafana but I want to remove that only when viewing it from kiosk mode.

Right now I implemented that using post messages which I send to the iframe of grafana. This solution has lots of problems and I want to avoid it.

I also want this functionality. If I am in kiosk mode I don’t want the drop down hover.
If I look to the inspector from chrome the dropdown is caused by the panel-hover-highlight class.

But where is these class defined in the Grafana source code?
If you remove that class from thesource code then you can solve this.