Fix file manager listing height calculation for many files
This commit is contained in:
parent
dcbfb8afe0
commit
b2342e64bd
2 changed files with 4 additions and 4 deletions
|
@ -67,7 +67,7 @@ h2 { font-weight: lighter; }
|
|||
.files .thead .td a:last-of-type { font-weight: bold; }
|
||||
.files .thead .td a { text-decoration: none; }
|
||||
.files .thead .td a:hover { text-decoration: underline; }
|
||||
.files .tbody { max-height: calc(100vh - 100x); overflow-y: auto; overflow-x: hidden; }
|
||||
.files .tbody { max-height: calc(100vh - 95px); overflow-y: auto; overflow-x: hidden; }
|
||||
.files .tr { background-color: white; }
|
||||
.files .td { padding: 10px 20px; border-top: 1px solid #EEE; font-size: 13px; white-space: nowrap; }
|
||||
.files .td.full { width: 100%; box-sizing: border-box; white-space: pre-line; }
|
||||
|
@ -128,7 +128,7 @@ h2 { font-weight: lighter; }
|
|||
/* Editor */
|
||||
|
||||
.editor { background-color: #F7F7FC; float: left; width: calc(100% - 280px); box-sizing: border-box; transition: all 0.6s; }
|
||||
.editor .CodeMirror { height: calc(100vh - 73px); visibility: hidden; }
|
||||
.editor .CodeMirror { height: calc(100vh - 79px); visibility: hidden; }
|
||||
.editor textarea { width: 100%; height: 800px; white-space: pre; }
|
||||
.editor .title { margin-left: 20px; }
|
||||
.editor .editor-head {
|
||||
|
|
|
@ -130,7 +130,7 @@ h2 { font-weight: lighter; }
|
|||
.files .thead .td a:last-of-type { font-weight: bold; }
|
||||
.files .thead .td a { text-decoration: none; }
|
||||
.files .thead .td a:hover { text-decoration: underline; }
|
||||
.files .tbody { max-height: calc(100vh - 100x); overflow-y: auto; overflow-x: hidden; }
|
||||
.files .tbody { max-height: calc(100vh - 95px); overflow-y: auto; overflow-x: hidden; }
|
||||
.files .tr { background-color: white; }
|
||||
.files .td { padding: 10px 20px; border-top: 1px solid #EEE; font-size: 13px; white-space: nowrap; }
|
||||
.files .td.full { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box ; white-space: pre-line; }
|
||||
|
@ -191,7 +191,7 @@ h2 { font-weight: lighter; }
|
|||
/* Editor */
|
||||
|
||||
.editor { background-color: #F7F7FC; float: left; width: calc(100% - 280px); -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box ; -webkit-transition: all 0.6s; -moz-transition: all 0.6s; -o-transition: all 0.6s; -ms-transition: all 0.6s; transition: all 0.6s ; }
|
||||
.editor .CodeMirror { height: calc(100vh - 73px); visibility: hidden; }
|
||||
.editor .CodeMirror { height: calc(100vh - 79px); visibility: hidden; }
|
||||
.editor textarea { width: 100%; height: 800px; white-space: pre; }
|
||||
.editor .title { margin-left: 20px; }
|
||||
.editor .editor-head {
|
||||
|
|
Loading…
Reference in a new issue