Browse Source

解决目录比较多导致的超出屏幕的目录不能查看的问题

Pete 9 years ago
parent
commit
c31ea112a0
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Application/Home/View/Catalog/edit.html

+ 5 - 1
Application/Home/View/Catalog/edit.html

@@ -6,6 +6,10 @@
 .cat-list{
   max-height: 250px;
 }
+.cat-content{
+    max-height: 195px;
+    overflow-y: auto;
+}
 </style>
  <div id="edit-cat" class="modal hide fade">
   <!-- 编辑框 -->
@@ -50,7 +54,7 @@
     <div class="modal-header">
     <h4>{$Think.Lang.catalog_list}&nbsp;<small>({$Think.Lang.click_to_edit})</small></h4>
     </div>
-    <div id="show-cat">
+    <div id="show-cat" class="cat-content">
 
     <br>
     <br>