主页中间导航过长
This commit is contained in:
parent
7cc96b1569
commit
5bfb99083c
|
@ -21,7 +21,7 @@
|
|||
</span>
|
||||
<% if @user.base_homepage %>
|
||||
<span class="fl">
|
||||
<%=link_to @user.base_homepage.title, homepage_user_path(@user.login), :class => 'sy_cgrey' %>
|
||||
<%=link_to @user.base_homepage.title, homepage_user_path(@user.login), :class => 'sy_cgrey fl', :style => 'white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 350px;' %>
|
||||
>
|
||||
</span>
|
||||
<% else %>
|
||||
|
@ -30,7 +30,7 @@
|
|||
>
|
||||
</span>
|
||||
<% end %>
|
||||
<%=link_to @article.title, user_homepage_show_path(:user_id=> @article.user_id,:id=> @article), :class => 'sy_cgrey', :style => 'white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 650px;' %>
|
||||
<%=link_to @article.title, user_homepage_show_path(:user_id=> @article.user_id,:id=> @article), :class => 'sy_cgrey', :style => 'white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 350px;' %>
|
||||
</p>
|
||||
<% end %>
|
||||
<% if @article.nil? %>
|
||||
|
|
Loading…
Reference in New Issue