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:
@@ -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%;
|
||||
|
Reference in New Issue
Block a user