mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 18:30:53 +00:00
Pdf file view redesign (#7188)
* [pdf file view] added 'find' operation icon; redesigned the 'find' bar * [pdf file view] the 'find' bar: updated the 'find previous/next' buttons; added a 'clear query' function * [pdf file view] 'print': redesigned the 'Preparing document for printing' dialog * [pdf file view] the 'find' bar: updated the styles of the border & the 'input' * [pdf file view] 'preparing document for printing' dialog: updated UI details * [pdf file view] 'preparing document for printing' dialog: modified the border & the backdrop
This commit is contained in:
@@ -31,7 +31,7 @@ const propTypes = {
|
||||
|
||||
const { isStarred, isLocked, lockedByMe,
|
||||
repoID, filePath, filePerm, enableWatermark, userNickName,
|
||||
fileName, repoEncrypted, isRepoAdmin
|
||||
fileName, repoEncrypted, isRepoAdmin, fileType
|
||||
} = window.app.pageOptions;
|
||||
|
||||
class FileView extends React.Component {
|
||||
@@ -146,7 +146,7 @@ class FileView extends React.Component {
|
||||
/>
|
||||
}
|
||||
</div>
|
||||
<div className={`file-view-body flex-auto d-flex o-hidden ${(isOnlyofficeFile && !isHeaderShown) ? 'position-relative' : ''}`}>
|
||||
<div className={`file-view-body flex-auto d-flex ${fileType == 'PDF' ? '' : 'o-hidden'} ${(isOnlyofficeFile && !isHeaderShown) ? 'position-relative' : ''}`}>
|
||||
{(isOnlyofficeFile && !isHeaderShown) &&
|
||||
<IconButton
|
||||
id="unfold-onlyoffice-file-view-header"
|
||||
|
Reference in New Issue
Block a user