mirror of https://github.com/grafana/grafana.git
DashboardScene: Fixes panel editor padding (#84426)
This commit is contained in:
parent
0c472ff00d
commit
5d23bc48b4
|
|
@ -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…
Reference in New Issue