|
|
@ -145,7 +145,6 @@ export function RowItemRenderer({ model }: SceneComponentProps<RowItem>) { |
|
|
|
function getStyles(theme: GrafanaTheme2) { |
|
|
|
function getStyles(theme: GrafanaTheme2) { |
|
|
|
return { |
|
|
|
return { |
|
|
|
rowHeader: css({ |
|
|
|
rowHeader: css({ |
|
|
|
width: '100%', |
|
|
|
|
|
|
|
display: 'flex', |
|
|
|
display: 'flex', |
|
|
|
gap: theme.spacing(1), |
|
|
|
gap: theme.spacing(1), |
|
|
|
padding: theme.spacing(0.5, 0.5, 0.5, 0), |
|
|
|
padding: theme.spacing(0.5, 0.5, 0.5, 0), |
|
|
@ -193,13 +192,13 @@ function getStyles(theme: GrafanaTheme2) { |
|
|
|
wrapper: css({ |
|
|
|
wrapper: css({ |
|
|
|
display: 'flex', |
|
|
|
display: 'flex', |
|
|
|
flexDirection: 'column', |
|
|
|
flexDirection: 'column', |
|
|
|
width: '100%', |
|
|
|
|
|
|
|
minHeight: '100px', |
|
|
|
minHeight: '100px', |
|
|
|
}), |
|
|
|
}), |
|
|
|
wrapperNotCollapsed: css({ |
|
|
|
wrapperNotCollapsed: css({ |
|
|
|
'> div:nth-child(2)': { |
|
|
|
'> div:nth-child(2)': { |
|
|
|
marginLeft: theme.spacing(3), |
|
|
|
marginLeft: theme.spacing(3), |
|
|
|
position: 'relative', |
|
|
|
position: 'relative', |
|
|
|
|
|
|
|
width: 'auto', |
|
|
|
|
|
|
|
|
|
|
|
'&:before': { |
|
|
|
'&:before': { |
|
|
|
content: '""', |
|
|
|
content: '""', |
|
|
|