1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 08:28:11 +00:00

[shared file view] code improvement (#3185)

* added component shared-file-view.js & shared-file-view-tip.js
* modified 'text file view'
This commit is contained in:
llj
2019-03-28 10:59:43 +08:00
committed by Daniel Pan
parent 7d5721bb64
commit 61fc8c20dc
8 changed files with 230 additions and 495 deletions

View File

@@ -67,34 +67,6 @@
overflow: auto;
}
.shared-file-view-body .txt-view .CodeMirror,
.shared-file-view-body .txt-view .file-view-tip {
height: auto;
min-height: 400px;
border: 1px solid #ccc;
margin: 0 auto;
box-shadow: 0 0 6px #ccc;
width: 816px;
padding: 40px 96px;
line-height: 1.5em;
background-color: #fff;
}
.shared-file-view-body .txt-view .file-view-tip {
min-height: 100px;
text-align: center;
}
.shared-file-view-body .txt-view .CodeMirror-scroll {
min-height: 400px;
}
.file-enc-cont {
width: 950px;
margin: -20px auto 6px;
text-align: right;
}
@media (max-width: 991.98px) {
.shared-file-view-head {
width: 100%;