diff --git a/public/app/plugins/panel/text/TextPanel.tsx b/public/app/plugins/panel/text/TextPanel.tsx index 1e694567745..7deecb11119 100644 --- a/public/app/plugins/panel/text/TextPanel.tsx +++ b/public/app/plugins/panel/text/TextPanel.tsx @@ -6,7 +6,7 @@ import { PanelProps, renderMarkdown, textUtil } from '@grafana/data'; import config from 'app/core/config'; // Types import { TextOptions } from './types'; -import { stylesFactory } from '@grafana/ui'; +import { stylesFactory, CustomScrollbar } from '@grafana/ui'; import { css, cx } from 'emotion'; import DangerouslySetHtmlContent from 'dangerously-set-html-content'; @@ -80,7 +80,11 @@ export class TextPanel extends PureComponent { render() { const { html } = this.state; const styles = getStyles(); - return ; + return ( + + ; + + ); } }