From fd8da9d3d6bfedd6fac889cd917fe5613477385c Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 28 Jun 2019 15:43:57 +0800 Subject: [PATCH] issue --- app/views/libraries/show.html.erb | 8 ++++---- public/stylesheets/educoder/edu-all.css | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/views/libraries/show.html.erb b/app/views/libraries/show.html.erb index c098b069..6779090b 100644 --- a/app/views/libraries/show.html.erb +++ b/app/views/libraries/show.html.erb @@ -21,12 +21,12 @@

<% if admin_or_self && !@library.published? && @library_applies.size > 0 %> -
+

私有化原因 (请按照提示修改,并在完成编辑后重新提交) 点击展开 -

+
<% @library_applies.each do |apply| %>
  • @@ -37,7 +37,7 @@
  • <% end %> -
    +

    详情 <% if admin_or_self && @library.editable? %> @@ -63,7 +63,7 @@

    -
    +
    diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index 498eb759..cdcd47d0 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -3333,6 +3333,10 @@ line-height: 16px;display: inline-block;color: rgba(65, 140, 205, 1) !important; float: left;cursor: pointer;margin-right: 30px;position: relative;color: #05101A;height: 40px;line-height: 20px; font-size: 16px; } +.library_nav li a{ + display: block; + height: 100%; +} .library_nav li.active,.library_nav li:hover{ color: #4cacff; }