1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00

optimize page cover style (#6392)

* optimize page cover style

* update sdoc editor version
This commit is contained in:
杨顺强 2024-07-22 14:01:34 +08:00 committed by GitHub
parent 29ebcaef00
commit e94eb3ab66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 11 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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 };

View File

@ -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;
}