DashboardScene: Tweak row design (#103040)

pull/102901/merge
Torkel Ödegaard 4 months ago committed by GitHub
parent 1a53e85bc5
commit 80fb267cd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      public/app/features/dashboard-scene/scene/layout-rows/RowItemRenderer.tsx

@ -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',

Loading…
Cancel
Save