WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit a898536

Browse files
authored
Merge pull request #176 from 975671668/fix-svg-display-bug
Fix the svg display bug
2 parents 5a57621 + 3f3d39d commit a898536

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@editorjs/table",
33
"description": "Table for Editor.js",
4-
"version": "2.4.3",
4+
"version": "2.4.4",
55
"license": "MIT",
66
"repository": "https://github.com/editor-js/table",
77
"files": [
@@ -50,4 +50,4 @@
5050
"dependencies": {
5151
"@codexteam/icons": "^0.0.6"
5252
}
53-
}
53+
}

src/styles/table.pcss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
box-sizing: border-box;
1919
display: grid;
2020
grid-template-columns: calc(100% - var(--cell-size)) var(--cell-size);
21+
/* Bug-fix: https://github.com/editor-js/table/issues/175 */
22+
z-index: 0;
2123

2224
&--readonly {
2325
grid-template-columns: 100% var(--cell-size);

0 commit comments

Comments
 (0)