hide overflow content for single left pane (#54882)

This commit is contained in:
Leo 2022-09-09 18:01:30 +02:00 committed by GitHub
parent 22c937340e
commit d5e28426ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ export class SplitPaneWrapper extends PureComponent<Props> {
);
}
return leftPaneComponents;
return <div className={styles.singleLeftPane}>{leftPaneComponents}</div>;
}
render() {
@ -163,6 +163,12 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
`;
return {
singleLeftPane: css`
height: 100%;
position: absolute;
overflow: hidden;
width: 100%;
`,
resizerV: cx(
resizer,
css`