mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 02:06:29 -05:00
fixed table-picker.tsx (#836)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
fee1605636
commit
48d78d9839
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ export const TablePicker: React.FC<TablePickerProps> = ({ show, onDismiss, onTab
|
||||||
{createNumberRangeArray(8).map((row: number) => (
|
{createNumberRangeArray(8).map((row: number) => (
|
||||||
createNumberRangeArray(10).map((col: number) => (
|
createNumberRangeArray(10).map((col: number) => (
|
||||||
<div
|
<div
|
||||||
|
key={`${row}_${col}`}
|
||||||
className={`table-cell ${tableSize && row < tableSize.rows && col < tableSize.columns ? 'bg-primary' : ''}`}
|
className={`table-cell ${tableSize && row < tableSize.rows && col < tableSize.columns ? 'bg-primary' : ''}`}
|
||||||
onMouseEnter={() => {
|
onMouseEnter={() => {
|
||||||
setTableSize({
|
setTableSize({
|
||||||
|
|
Loading…
Reference in a new issue