This commit is contained in:
liyuchun
2022-10-25 17:21:31 +08:00
parent 11a4983080
commit 202fdfe374
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ table.diff {margin-bottom: 0px;}
.repoCode .diff tr.over td.line-new, .repoCode .diff tr.over td.line-new {background: #8eff8e;}
.repoCode .diff tr.over td.line-old, .repoCode .diff tr.over td.line-old {background: #f6b2b2;}
.repoCode {min-height: 500px;}
.repoCode form > .btn {margin-right: 10px;}
.label-exchange {background-color: #566F7C; cursor: pointer;}
.label-exchange i {padding: 0;}
+1
View File
@@ -1,6 +1,7 @@
.m-repo-monaco {overflow: hidden;}
.repoCode .nav > li > a {padding: 8px 10px;}
.repoCode .nav-tabs > li > a > span {margin-right: 5px;}
.repoCode {min-height: 500px;}
#fileTabs .tab-pane {display: none;}
#fileTabs .tab-pane.active {display: block;}
+1
View File
@@ -115,6 +115,7 @@ $(document).ready(function()
function setHeight()
{
var paneHeight = $(window).height() - 120;
if(isonlybody) paneHeight = 500;
$('#fileTabs .tab-pane').css('height', paneHeight + 'px')
$('#filesTree').css('height', paneHeight + 45)
}
+1
View File
@@ -33,6 +33,7 @@ $(function()
function setHeight()
{
var paneHeight = $(window).height() - 120;
if(isonlybody) paneHeight = 500;
$('#fileTabs .tab-pane').css('height', paneHeight + 'px')
$('#filesTree').css('height', paneHeight + 45)
}
+1
View File
@@ -12,6 +12,7 @@
include '../../common/view/header.html.php';
js::import($jsRoot . '/zui/tabs/tabs.min.js');
js::import($jsRoot . 'misc/base64.js');
js::set('isonlybody', isonlybody());
js::set('entry', $entry);
js::set('repoID', $repoID);
js::set('repo', $repo);