diff --git a/public/app/features/dashboard-scene/edit-pane/ElementEditPane.tsx b/public/app/features/dashboard-scene/edit-pane/ElementEditPane.tsx index 7806715e3b9..5572c81f1d4 100644 --- a/public/app/features/dashboard-scene/edit-pane/ElementEditPane.tsx +++ b/public/app/features/dashboard-scene/edit-pane/ElementEditPane.tsx @@ -20,7 +20,9 @@ export function ElementEditPane({ element, editPane }: Props) { return (
- {categories.map((cat) => cat.render())} + +
{categories.map((cat) => cat.render())}
+
); } @@ -33,5 +35,10 @@ function getStyles(theme: GrafanaTheme2) { flex: '1 1 0', height: '100%', }), + categories: css({ + display: 'flex', + flexDirection: 'column', + borderBottom: `1px solid ${theme.colors.border.weak}`, + }), }; } diff --git a/public/app/features/dashboard/components/PanelEditor/OptionsPaneCategory.tsx b/public/app/features/dashboard/components/PanelEditor/OptionsPaneCategory.tsx index 44c39ddd8e1..a3717c4802c 100644 --- a/public/app/features/dashboard/components/PanelEditor/OptionsPaneCategory.tsx +++ b/public/app/features/dashboard/components/PanelEditor/OptionsPaneCategory.tsx @@ -107,7 +107,7 @@ export const OptionsPaneCategory = React.memo( {/* this just provides a better experience for mouse users */} {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}
-
+
{renderTitle(isExpanded)}
@@ -149,6 +149,10 @@ const getStyles = (theme: GrafanaTheme2) => ({ fontSize: '1rem', fontWeight: theme.typography.fontWeightMedium, margin: 0, + color: theme.colors.text.secondary, + }), + titleExpanded: css({ + color: theme.colors.text.primary, }), header: css({ display: 'flex',