diff --git a/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx b/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx index 90da9adfd77..f7e9b09289f 100644 --- a/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx +++ b/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx @@ -403,7 +403,6 @@ const getStyles = (theme: GrafanaTheme2) => { content: css({ label: 'panel-content', flexGrow: 1, - contain: 'strict', }), headerContainer: css({ label: 'panel-header', diff --git a/public/app/plugins/panel/text/TextPanel.tsx b/public/app/plugins/panel/text/TextPanel.tsx index 3252c3fb718..d831532f48a 100644 --- a/public/app/plugins/panel/text/TextPanel.tsx +++ b/public/app/plugins/panel/text/TextPanel.tsx @@ -51,7 +51,7 @@ export function TextPanel(props: Props) { } return ( - + ({ height: 100%; ` ), + containStrict: css({ + contain: 'strict', + }), }); diff --git a/public/sass/pages/_dashboard.scss b/public/sass/pages/_dashboard.scss index 77c985f4435..e46ab1d0108 100644 --- a/public/sass/pages/_dashboard.scss +++ b/public/sass/pages/_dashboard.scss @@ -46,7 +46,6 @@ padding: $panel-padding; width: 100%; flex-grow: 1; - contain: strict; height: calc(100% - #{$panel-header-height}); &--no-padding {