DashboardScene: Tweak row design (#103040)
This commit is contained in:
@@ -88,7 +88,8 @@ export function RowItemRenderer({ model }: SceneComponentProps<RowItem>) {
|
|||||||
className={cx(
|
className={cx(
|
||||||
styles.rowTitle,
|
styles.rowTitle,
|
||||||
isHeaderHidden && styles.rowTitleHidden,
|
isHeaderHidden && styles.rowTitleHidden,
|
||||||
!isTopLevel && styles.rowTitleNested
|
!isTopLevel && styles.rowTitleNested,
|
||||||
|
isCollapsed && styles.rowTitleCollapsed
|
||||||
)}
|
)}
|
||||||
role="heading"
|
role="heading"
|
||||||
>
|
>
|
||||||
@@ -148,6 +149,9 @@ function getStyles(theme: GrafanaTheme2) {
|
|||||||
fontSize: theme.typography.body.fontSize,
|
fontSize: theme.typography.body.fontSize,
|
||||||
fontWeight: theme.typography.fontWeightRegular,
|
fontWeight: theme.typography.fontWeightRegular,
|
||||||
}),
|
}),
|
||||||
|
rowTitleCollapsed: css({
|
||||||
|
color: theme.colors.text.secondary,
|
||||||
|
}),
|
||||||
wrapper: css({
|
wrapper: css({
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
|
|||||||
Reference in New Issue
Block a user