diff --git a/app/views/layouts/base_shixun.html.erb b/app/views/layouts/base_shixun.html.erb index 10898d17e..83c289a8c 100644 --- a/app/views/layouts/base_shixun.html.erb +++ b/app/views/layouts/base_shixun.html.erb @@ -20,7 +20,7 @@ <%= render :partial => 'shixuns/shixun_top' %> - <%= render_flash_messages %> + <%#= render_flash_messages %>
<%= @shixun.name %>
<% if allow_shixun_exec(@shixun) %> <%= link_to "开始挑战", shixun_monitor_shixun_path(@shixun), :class => "fr task-btn task-btn-orange", :remote => true %> diff --git a/public/stylesheets/css/taskstyle.css b/public/stylesheets/css/taskstyle.css index bc0ad0d45..f8ec1cb11 100644 --- a/public/stylesheets/css/taskstyle.css +++ b/public/stylesheets/css/taskstyle.css @@ -138,6 +138,8 @@ a.rightbar-pause{ color:#29bd8b; font-size: 18px; margin-right:245px; margin-top .task-header{ width: 100%; background:url("/images/task/task-bg-header.png") 0 0 repeat-x; height: 100px;} .task-header-info{ width: 1000px; margin: 0 auto; color:#fff; padding:30px 0;} .task-header-info h2 a,.task-header-info h2{ font-weight: normal;color:#fff;} +a.task-header-name{ max-width:200px;} +.task-header-title{ display: block; max-width:750px;word-wrap: break-word;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;} .task-header-nav{ width: 100%; height:50px; background:#282c37;} .task-header-navs{ width: 1000px; margin: 0 auto;} .task-header-navs li{ float: left;}