Hooks: Adding possibility to display banner on the top of the page (#39099) (#39755)

* adding working version of notificaion banner trigger.

* Move it to enterprise

* Fixing csss, none of the pages showed our CustomScrollbar or had double scrollbars

* fixing explore

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
(cherry picked from commit b626ba223f)

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2021-09-29 08:29:45 +02:00
committed by GitHub
co-authored by Marcus Andersson
parent b37d4152d8
commit b82bc90180
5 changed files with 19 additions and 10 deletions
@@ -18,14 +18,18 @@ export function getPageStyles(theme: GrafanaTheme2) {
.main-view {
position: relative;
display: flex;
flex-direction: column;
flex-grow: 1;
height: 100%;
flex: 1 1 0;
}
.page-scrollbar-wrapper {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
flex-grow: 1;
width: 100%;
min-height: 0;
}
.page-scrollbar-content {