diff --git a/app/views/libraries/_form.html.erb b/app/views/libraries/_form.html.erb index 44c2ee1c..19b0b40d 100644 --- a/app/views/libraries/_form.html.erb +++ b/app/views/libraries/_form.html.erb @@ -4,14 +4,14 @@ <%= hidden_field_tag :apply_publish, false %>
-

+

标题
  • <%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-240-35 mr20 fl' %>

    请输入标题

  • 简明扼要介绍文档&视频所包含的主要的内容 -

    +
    <%= render partial: 'attachments/from_libraries', locals: { container: @library } %>

    请上传附件

    diff --git a/app/views/libraries/show.html.erb b/app/views/libraries/show.html.erb index 66ed8ba3..6a0e8c58 100644 --- a/app/views/libraries/show.html.erb +++ b/app/views/libraries/show.html.erb @@ -85,7 +85,7 @@ }else{ $(item).html('点击展开'); $(item).attr("at","0"); - $(".private_reason").css({maxHeight:"150px"}); + $(".private_reason").css({maxHeight:"163px"}); } } var homeworkDescr = editormd.markdownToHTML("labraries_editorMd_content", { diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index cdcd47d0..6af5abec 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -3359,7 +3359,7 @@ line-height: 16px;display: inline-block;color: rgba(65, 140, 205, 1) !important; width: 100%;background: #F2F9FF;justify-content: center;align-items: center;display: -webkit-flex;text-align: center; height: 120px;border-radius: 4px;border:1px dashed #4cacff; } -.private_reason{overflow: hidden;max-height:150px;} +.private_reason{overflow: hidden;max-height:163px;} .private_reason li{margin-bottom: 10px;} .successPage{ justify-content: center;align-items: center;display: -webkit-flex;height: 570px;text-align: center;margin-bottom: 50px;