DashboardScene: Tweak row design (#103040)

This commit is contained in:
Torkel Ödegaard
2025-04-01 09:34:56 +02:00
committed by GitHub
parent 1a53e85bc5
commit 80fb267cd5
@@ -88,7 +88,8 @@ export function RowItemRenderer({ model }: SceneComponentProps<RowItem>) {
className={cx(
styles.rowTitle,
isHeaderHidden && styles.rowTitleHidden,
!isTopLevel && styles.rowTitleNested
!isTopLevel && styles.rowTitleNested,
isCollapsed && styles.rowTitleCollapsed
)}
role="heading"
>
@@ -148,6 +149,9 @@ function getStyles(theme: GrafanaTheme2) {
fontSize: theme.typography.body.fontSize,
fontWeight: theme.typography.fontWeightRegular,
}),
rowTitleCollapsed: css({
color: theme.colors.text.secondary,
}),
wrapper: css({
display: 'flex',
flexDirection: 'column',