Fix visual issues with other users selecting cells

This commit is contained in:
Andrew Kingston 2023-05-15 16:43:37 +01:00
parent 46d8ad2864
commit e2a860ea4c
2 changed files with 5 additions and 7 deletions

View File

@ -94,14 +94,15 @@
}
/* Cell border for cells with labels */
.cell.error:after,
.cell.selected-other:not(.focused):after {
.cell.error:after {
border-radius: 0 2px 2px 2px;
}
.cell[data-row="0"].error:after,
.cell[data-row="0"].selected-other:not(.focused):after {
.cell[data-row="0"].error:after {
border-radius: 2px 2px 2px 0;
}
.cell.selected-other:not(.focused):after {
border-radius: 2px;
}
/* Cell z-index */
.cell.error,

View File

@ -296,10 +296,7 @@ export const deriveStores = context => {
// Refreshes a specific row
const refreshRow = async id => {
// Fetch row from the server again
const row = await fetchRow(id)
// Update local state
replaceRow(id, row)
}