mirror of
https://github.com/docmost/docmost.git
synced 2026-06-22 10:51:49 +10:00
fix(base): show cell focus ring only while the grid body itself is focused
This commit is contained in:
@@ -241,7 +241,7 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bodyGrid:focus-within .cellFocused {
|
.bodyGrid:focus .cellFocused {
|
||||||
outline: 2px solid var(--mantine-color-blue-5);
|
outline: 2px solid var(--mantine-color-blue-5);
|
||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
@@ -498,10 +498,10 @@
|
|||||||
.rowSelected .rowNumberCheckbox {
|
.rowSelected .rowNumberCheckbox {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
.bodyGrid:focus-within .cellFocused .rowNumberIndex {
|
.bodyGrid:focus .cellFocused .rowNumberIndex {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.bodyGrid:focus-within .cellFocused .rowNumberCheckbox {
|
.bodyGrid:focus .cellFocused .rowNumberCheckbox {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
.rowSelected .cell {
|
.rowSelected .cell {
|
||||||
|
|||||||
Reference in New Issue
Block a user