From 5bfb99083cd34bc1b115bfbdbdec59ddd7da6651 Mon Sep 17 00:00:00 2001 From: cxt Date: Thu, 20 Oct 2016 17:17:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E4=B8=AD=E9=97=B4=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E8=BF=87=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/article_homepages/_article_show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/article_homepages/_article_show.html.erb b/app/views/article_homepages/_article_show.html.erb index 650b550e2..1816e4ba8 100644 --- a/app/views/article_homepages/_article_show.html.erb +++ b/app/views/article_homepages/_article_show.html.erb @@ -21,7 +21,7 @@ <% if @user.base_homepage %> - <%=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;' %>  >  <% else %> @@ -30,7 +30,7 @@  >  <% 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;' %>

<% end %> <% if @article.nil? %>