mirror of
https://github.com/desktop/desktop
synced 2024-09-13 21:31:32 +00:00
Add focus indicator when diff grid has focus
This commit is contained in:
parent
ecada7b91b
commit
b608647dcb
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue