Add focus indicator when diff grid has focus

This commit is contained in:
Jose Cortinas 2024-01-25 15:46:01 -06:00
parent ecada7b91b
commit b608647dcb

View file

@ -855,6 +855,16 @@
}
}
}
// When focus moves to the virtualized grid, we want to show a focus ring.
&:has(.ReactVirtualized__Grid:focus) {
outline: 2px solid var(--focus-color);
border-radius: var(--border-radius);
// Move the content over to make room for the focus ring
margin-right: 2px;
margin-bottom: 2px;
}
}
.diff-container {