DashboardScene: Tweak row design (#103040)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user