diff --git a/app/views/layouts/_base_header_new.html.erb b/app/views/layouts/_base_header_new.html.erb index d066a3e9f..c224ee0ab 100644 --- a/app/views/layouts/_base_header_new.html.erb +++ b/app/views/layouts/_base_header_new.html.erb @@ -56,7 +56,7 @@
- <% if !@user_course_messages.nil? %> + <% if !@user_course_messages.blank? %> <% @user_course_messages.each do |ucm| %> <% if ucm.course_message_type == "News" %>
diff --git a/public/stylesheets/public_new.css b/public/stylesheets/public_new.css index 452f2f853..ca45545ff 100644 --- a/public/stylesheets/public_new.css +++ b/public/stylesheets/public_new.css @@ -6,7 +6,7 @@ div,img,tr,td,table{ border:0;} table,tr,td{border:0;cellspacing:0; cellpadding:0;} ol,ul,li{ list-style-type:none} a:link,a:visited{color:#7f7f7f;text-decoration:none;} -a:hover,a:active{color:#000;} +a:hover,a:active{color:#15bccf;} img{max-width: 100%;} /*常用*/