diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 82f606357e..9609881188 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -16,7 +16,7 @@ "@gatsbyjs/reach-router": "1.3.9", "@seafile/react-image-lightbox": "2.0.2", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "1.0.29", + "@seafile/sdoc-editor": "1.0.31", "@seafile/seafile-calendar": "0.0.12", "@seafile/seafile-editor": "1.0.105", "@seafile/sf-metadata-ui-component": "0.0.12", @@ -4649,9 +4649,9 @@ "integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig==" }, "node_modules/@seafile/sdoc-editor": { - "version": "1.0.29", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-1.0.29.tgz", - "integrity": "sha512-xbQDqvVk7LxvJwAHdvg17FHQVGl25j238UxK10eoq0xdQTCIxOjrK8DMS06LN1aHVFBEJYkRy076lJAAqrx7kA==", + "version": "1.0.31", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-1.0.31.tgz", + "integrity": "sha512-O36gNqAt/jDLvRg1bL8EyLiPyHTzvcGhHantOBhSvRS+0t6U2cR6OEbo1giklNEBefaUAfK0AWB9GXAz0a4Zrw==", "dependencies": { "@seafile/print-js": "1.6.5", "@seafile/react-image-lightbox": "2.0.4", @@ -31945,9 +31945,9 @@ "integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig==" }, "@seafile/sdoc-editor": { - "version": "1.0.29", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-1.0.29.tgz", - "integrity": "sha512-xbQDqvVk7LxvJwAHdvg17FHQVGl25j238UxK10eoq0xdQTCIxOjrK8DMS06LN1aHVFBEJYkRy076lJAAqrx7kA==", + "version": "1.0.31", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-1.0.31.tgz", + "integrity": "sha512-O36gNqAt/jDLvRg1bL8EyLiPyHTzvcGhHantOBhSvRS+0t6U2cR6OEbo1giklNEBefaUAfK0AWB9GXAz0a4Zrw==", "requires": { "@seafile/print-js": "1.6.5", "@seafile/react-image-lightbox": "2.0.4", diff --git a/frontend/package.json b/frontend/package.json index 56d089f89e..ed8a2b99aa 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,7 +11,7 @@ "@gatsbyjs/reach-router": "1.3.9", "@seafile/react-image-lightbox": "2.0.2", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "1.0.29", + "@seafile/sdoc-editor": "1.0.31", "@seafile/seafile-calendar": "0.0.12", "@seafile/seafile-editor": "1.0.105", "@seafile/sf-metadata-ui-component": "0.0.12", diff --git a/frontend/src/pages/wiki2/constant.js b/frontend/src/pages/wiki2/constant.js index 2f3ef9d27c..f2a40dc36a 100644 --- a/frontend/src/pages/wiki2/constant.js +++ b/frontend/src/pages/wiki2/constant.js @@ -10,6 +10,7 @@ const WIKI_COVER_LIST = [ 'wiki-cover-6.jpg', 'wiki-cover-7.jpg', 'wiki-cover-8.jpg', + 'wiki-cover-9.jpg', ]; export { FOLDER, PAGE, WIKI_COVER_LIST }; diff --git a/frontend/src/pages/wiki2/wiki-right-header/page-cover.css b/frontend/src/pages/wiki2/wiki-right-header/page-cover.css index 403523f119..150c2da662 100644 --- a/frontend/src/pages/wiki2/wiki-right-header/page-cover.css +++ b/frontend/src/pages/wiki2/wiki-right-header/page-cover.css @@ -48,15 +48,15 @@ .wiki-page-cover-panel__body { display: grid; - grid-template-columns: 1fr 1fr 1fr 1fr; + grid-template-columns: 1fr 1fr 1fr; gap: 10px; background-color: #fff; overflow-y: auto; } .wiki-page-cover-panel .wiki-cover-gallery-img { - width: 120px; - height: 64px; + width: 240px; + height: 72px; cursor: pointer; }