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:
parent
29ebcaef00
commit
e94eb3ab66
14
frontend/package-lock.json
generated
14
frontend/package-lock.json
generated
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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 };
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user