hide overflow content for single left pane (#54882) (#54994)

(cherry picked from commit d5e28426ee)

Co-authored-by: Leo <108552997+lpskdl@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2022-09-09 18:13:44 +02:00
committed by GitHub
co-authored by Leo
parent c4afe31c8e
commit e8e631d336
@@ -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`