diff --git a/src/component/DualSpreadsheet/components/Cell.tsx b/src/component/DualSpreadsheet/components/Cell.tsx index e464e4d..aaf5e10 100644 --- a/src/component/DualSpreadsheet/components/Cell.tsx +++ b/src/component/DualSpreadsheet/components/Cell.tsx @@ -195,7 +195,7 @@ export const Cell = memo( > {isEditing && isSelected ? ( } type="text" value={rawValue} // Во время редактирования показываем текущее редактируемое значение onChange={e => onCellValueChange(e.target.value)} @@ -228,7 +228,9 @@ export const Cell = memo( whiteSpace: 'nowrap', ...(isSelected ? { boxShadow: 'inset 0 0 0 2px hsl(var(--primary))' } - : {}), + : highlightColor + ? { boxShadow: 'inset 0 0 0 2px currentColor' } + : {}), }} >