Skip to content

Commit

Permalink
Fix table plugin. Make hover buttons in table visible.
Browse files Browse the repository at this point in the history
  • Loading branch information
fdemian committed Aug 3, 2024
1 parent ff56a80 commit f665901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Kalliope/Plugins/TableActionMenuPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ function TableActionMenu({
e.stopPropagation();
}}>
{mergeCellButton}
<hr />
<button
className="item"
onClick={() => insertTableRowAtSelection(false)}
Expand Down
4 changes: 2 additions & 2 deletions src/Kalliope/Plugins/TableHoverActionsPlugin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,14 @@ function TableHoverActionsContainer({
<>
{isShownRow && (
<button
className={'calliope-table-add-rows'}
className={'calliope-editor-table-add-rows'}
style={{...position}}
onClick={() => insertAction(true)}
/>
)}
{isShownColumn && (
<button
className={'calliope-table-add-columns'}
className={'calliope-editor-table-add-columns'}
style={{...position}}
onClick={() => insertAction(false)}
/>
Expand Down

0 comments on commit f665901

Please sign in to comment.