diff --git a/app/views/organizations/_org_subfield_rightM.html.erb b/app/views/organizations/_org_subfield_rightM.html.erb index 8c090f833..a07b724d2 100644 --- a/app/views/organizations/_org_subfield_rightM.html.erb +++ b/app/views/organizations/_org_subfield_rightM.html.erb @@ -38,7 +38,7 @@ <% else %> <%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "104", :height => "104"), board_message_url_in_org(message.board.id,message.id), :target => "_blank", :class => "fl sn-index-wximg" %> <% end %> -

<%=link_to message.content.to_s.html_safe, board_message_url_in_org(message.board.id, message.id), :target => "_blank" %>

+

<%=link_to message.content.to_s.html_safe, board_message_url_in_org(message.board.id, message.id), :target => "_blank" %>

<% else %> @@ -50,7 +50,7 @@ <% else %> <%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "104", :height => "104"), board_message_path(message.board, activity), :target => "_blank", :class => "fl sn-index-wximg" %> <% end %> -

<%=link_to message.content.to_s.html_safe, board_message_path(message.board, activity), :target => "_blank" %>

+

<%=link_to message.content.to_s.html_safe, board_message_path(message.board, activity), :target => "_blank" %>

<% end %> @@ -65,7 +65,7 @@ <% else %> <%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "104", :height => "104"), news_path(news), :target => "_blank", :class => "fl sn-index-wximg" %> <% end %> -

<%=link_to news.description.to_s.html_safe, news_path(news), :target => "_blank" %>

+

<%=link_to news.description.to_s.html_safe, news_path(news), :target => "_blank" %>

<% end %> @@ -76,7 +76,7 @@

<%= field.name %>

-

暂无内容!

+

暂无内容!

diff --git a/app/views/organizations/_subfield_sub_domains_list.html.erb b/app/views/organizations/_subfield_sub_domains_list.html.erb index 20bd31ede..f68d06c1e 100644 --- a/app/views/organizations/_subfield_sub_domains_list.html.erb +++ b/app/views/organizations/_subfield_sub_domains_list.html.erb @@ -12,7 +12,7 @@
  • -
    <%= subdomain.name %>
    +
    <%= subdomain.name %>
    diff --git a/public/stylesheets/org.css b/public/stylesheets/org.css index cfee8e0c2..34025aa73 100644 --- a/public/stylesheets/org.css +++ b/public/stylesheets/org.css @@ -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;} diff --git a/public/stylesheets/org2.css b/public/stylesheets/org2.css index 9de2bf56f..52dde9ad4 100644 --- a/public/stylesheets/org2.css +++ b/public/stylesheets/org2.css @@ -157,7 +157,7 @@ a.more-btn{ display:block; width:185px; height:30px; text-align:center; backgrou /* index-wx*/ .sn-index-wxbox{margin-bottom:20px; background:#fff;} .sn-index-wximg{ margin:15px; margin-right:5px;} -.sn-index-txt{ font-size:16px; line-height:2.0; margin-top:30px;} +.sn-index-txt{ font-size:16px; line-height:2.0; margin-top:30px; max-height:64px; overflow:hidden;} .sn-index-smallbanner img{ display:block; width:369px; height:169px; } /* 内页新闻列表 */