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

Init text shared (#2908)

This commit is contained in:
C_Q
2019-02-01 18:44:10 +08:00
committed by Daniel Pan
parent 56613d95d4
commit 90324d3d87
10 changed files with 253 additions and 13 deletions

View File

@@ -30,6 +30,7 @@
.shared-file-view-head a {
color: #fff;
text-decoration: none;
}
.shared-file-view-head h2 {
@@ -66,6 +67,34 @@
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%;