diff --git a/public/app/features/dimensions/editors/ValueMappingsEditor/ValueMappingEditRow.tsx b/public/app/features/dimensions/editors/ValueMappingsEditor/ValueMappingEditRow.tsx index 68b3b59364b..498454c92c4 100644 --- a/public/app/features/dimensions/editors/ValueMappingsEditor/ValueMappingEditRow.tsx +++ b/public/app/features/dimensions/editors/ValueMappingsEditor/ValueMappingEditRow.tsx @@ -129,9 +129,9 @@ export function ValueMappingEditRow({ mapping, index, onChange, onRemove, onDupl return ( {(provided) => ( - + -
+
@@ -231,8 +231,23 @@ export function ValueMappingEditRow({ mapping, index, onChange, onRemove, onDupl } const getStyles = (theme: GrafanaTheme2) => ({ + dragRow: css({ + position: 'relative', + }), dragHandle: css({ cursor: 'grab', + // create focus ring around the whole row when the drag handle is tab-focused + // needs position: relative on the drag row to work correctly + '&:focus-visible&:after': { + bottom: 0, + content: '""', + left: 0, + position: 'absolute', + right: 0, + top: 0, + outline: `2px solid ${theme.colors.primary.main}`, + outlineOffset: '-2px', + }, }), rangeInputWrapper: css({ display: 'flex',