elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.61k stars 8.22k forks source link

Expose an API from `chrome` service to access the height of the top banner #111688

Open pgayvallet opened 3 years ago

pgayvallet commented 3 years ago

When css is not enough (such as in https://github.com/elastic/kibana/pull/111038), the height of the banner needs to be accessed in javascript. We currently only expose this variable from our sass mixins. We need to expose an API from the chrome service (or a constant from the public bundle) to allow consumers to retrieve this value

elasticmachine commented 3 years ago

Pinging @elastic/kibana-core (Team:Core)