DashboardScene: Fixes panel editor padding (#84426)

pull/83813/head
Torkel Ödegaard 2 years ago committed by GitHub
parent 0c472ff00d
commit 5d23bc48b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      public/app/features/dashboard-scene/panel-edit/PanelEditorRenderer.tsx

@ -81,7 +81,7 @@ function VizAndDataPane({ model }: SceneComponentProps<PanelEditor>) {
return (
<>
{controls && <controls.Component model={controls} />}
<div className={styles.controlsWrapper}>{controls && <controls.Component model={controls} />}</div>
<div {...containerProps}>
<div {...primaryProps}>
<vizManager.Component model={vizManager} />
@ -144,7 +144,6 @@ function getStyles(theme: GrafanaTheme2) {
display: 'flex',
flexDirection: 'column',
minHeight: 0,
gap: '8px',
}),
optionsPane: css({
flexDirection: 'column',
@ -169,6 +168,12 @@ function getStyles(theme: GrafanaTheme2) {
rotate180: css({
rotate: '180deg',
}),
controlsWrapper: css({
display: 'flex',
flexDirection: 'column',
flexGrow: 0,
paddingLeft: theme.spacing(2),
}),
openDataPaneButton: css({
width: theme.spacing(8),
justifyContent: 'center',

Loading…
Cancel
Save