* Adjust code .

This commit is contained in:
guofeilong
2023-03-28 17:11:13 +08:00
parent 3829a3232b
commit 3819c8346f
2 changed files with 19 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
.flex {display: flex;}
.flex-center {display: flex; justify-content: center; align-items: center;}
.main {padding-bottom: 0;}
.selectBox > button {width: 180px;}
/* main-content */
#mainContent {}
#mainContent > #sideBar {flex: 0 0 180px; height: calc(100vh - 140px); overflow: auto;}
#mainContent > .sidebar-toggle {flex: 0 0 16px;}
#mainContent > .main-col {flex: auto; height: calc(100vh - 140px); overflow: auto;}
/* tree */
/* sideBar */
.sidebar-toggle > .icon {width: 12px; height: 30px; margin-top: -10px; line-height: 30px; color: #fff; text-align: center; background: #7dcdfe; border-radius: 6px;}
/* table */
+1 -1
View File
@@ -32,7 +32,7 @@
?>
</div>
</div>
<div id='mainContent'class="fade <?php if(!empty($libTree)) echo 'flex';?>">
<div id='mainContent' class="fade <?php if(!empty($libTree)) echo 'flex';?>">
<?php if(empty($libTree)):?>
<div class="table-empty-tip">
<p>