Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/styles/table.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
display: grid;
grid-template-columns: calc(100% - var(--cell-size)) var(--cell-size);
/* Bug-fix: https://github.com/editor-js/table/issues/175 */
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like this can lead to the old bug
#175

z-index: 0;
/* Increased from 0 to 10 so toolboxes/popovers render above adjacent blocks */
z-index: 10;

&--readonly {
grid-template-columns: 100% var(--cell-size);
Expand Down
2 changes: 1 addition & 1 deletion src/styles/toolboxes.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

position: absolute;
cursor: pointer;
z-index: 1;
z-index: 15;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where 15 came from?

opacity: 0;
transition: opacity 0.1s;

Expand Down