From c442751ab02b84c8264ae703ef62f404c8cfdc58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 13 Jul 2019 12:37:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/subjects/_paths_list.html.erb | 4 +++- public/stylesheets/educoder/edu-all.css | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/views/subjects/_paths_list.html.erb b/app/views/subjects/_paths_list.html.erb index fdd5e262..a7a2f992 100644 --- a/app/views/subjects/_paths_list.html.erb +++ b/app/views/subjects/_paths_list.html.erb @@ -58,7 +58,9 @@ <% end %> - "><%= s_index + 1 %>-<%= index + 1 %>  <%= shixun.name %> + "> + <%= s_index + 1 %>-<%= index + 1 %>  <%= shixun.name %> +
  • <%= shixun_show_in_subject @subject.status, shixun.status, shixun.hidden %> diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index 285a66df..53ad1612 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -3502,4 +3502,12 @@ line-height: 16px;display: inline-block;color: rgba(65, 140, 205, 1) !important; } .inlineblock{ display:inline-block; +} + +.subject_stage_shixun_index{ + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 412px; + display: inline-block; } \ No newline at end of file