二级栏目名长度控制

This commit is contained in:
Tim 2016-05-05 09:28:49 +08:00
parent 787dbaaffc
commit c3514f5b6a
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@
</div>
</li>
<li class="orgSubColumn">
<div id="subsubdomain_show_<%= subdomain.id %>"><%= subdomain.name %></div>
<div id="subsubdomain_show_<%= subdomain.id %>" class="subColumnControl"><%= subdomain.name %></div>
<div id="subsubdomain_edit_<%= subdomain.id %>" style="display:none;">
<input type="text" name="name" onblur="update_subsubdomain('#subsubdomain_show_<%= subdomain.id %>','#subsubdomain_edit_<%= subdomain.id %>','<%= subdomain.id %>',$(this).val());" value="<%= subdomain.name %>" style="width:70px;"/>
</div>

View File

@ -87,6 +87,7 @@ a.linkGrey8:hover {color:#585858;}
.orgSubTree {width:20px; height:31px; background:url(/images/org_tree.png) 0 0 no-repeat; float:left; margin-left:30px;}
.orgSubTree2 {width:20px; height:31px; background:url(/images/org_tree.png) 0 -45px no-repeat; float:left; margin-left:30px;}
.orgSubColumn {width:100px; float:left;}
.subColumnControl {width:90px; max-width:90px; margin-right:10px; float:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.personalUrl {border:1px solid #dddddd; width:75px; outline:none; white-space:nowrap; padding-left:2px;}
.reCon{ margin:5px; width:710px;}
.retop{width:710px; height:40px; background:#eaeaea; padding:5px;}