* Adjust code .

This commit is contained in:
guofeilong
2023-03-16 13:16:57 +08:00
parent 0737f2861c
commit e93bc36664
2 changed files with 8 additions and 3 deletions
+5
View File
@@ -1,3 +1,5 @@
.flex {display: flex;}
.flex-full {flex: 1;}
.float-r {float: right;}
.h-full {height: 100%;}
.w-full {width: 100%;}main-content {padding-top: 0; padding-bottom: 0;}
@@ -38,6 +40,9 @@ li.drag-shadow ul {display: none!important;}
.tree-group {position: relative;}
.tree-group > .module-name {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; display: block;}
.tree li.has-list.open:before {left: 6px;}
.main-table-content {display: flex; gap: 20px;}
.main-table-content > .side {flex: 0 0 300px;}
.main-table-content > .content {flex: 1;}
/* css for tree */
.file-tree {overflow-x: auto;}
+3 -3
View File
@@ -30,11 +30,11 @@ if($this->methodName != 'browse')
if(empty($type)) $type = 'product';
?>
<div class="cell<?php if($browseType == 'bySearch') echo ' show';?>" id="queryBox" data-module=<?php echo $type . 'Doc';?>></div>
<div class="main-content">
<div class="side">
<div class="main-table-content">
<div class="side panel">
<div id="fileTree"></div>
</div>
<div class="cell" id="<?php echo $type;?>">
<div class="content panel" id="<?php echo $type;?>">
<div class="detail">
<li class="detail-title"><?php echo $lang->doc->tableContents;?></li>
<?php