Browse Source

修复:用户反馈输入框无法点击

pull/347/head
yystopf 1 year ago
parent
commit
9c2990e3f8
2 changed files with 13 additions and 1 deletions
  1. +7
    -0
      app/assets/stylesheets/admin.scss
  2. +6
    -1
      app/views/admins/feedbacks/_history_form_modal.html.erb

+ 7
- 0
app/assets/stylesheets/admin.scss View File

@@ -40,6 +40,13 @@ body {
}
}
}
.editormd .CodeMirror{
margin-top: 35px!important;
}

.CodeMirror-gutter .CodeMirror-linenumbers {
width: 28px!important;
}

input.form-control {
font-size: 14px;


+ 6
- 1
app/views/admins/feedbacks/_history_form_modal.html.erb View File

@@ -2,7 +2,12 @@
<div class="modal-dialog modal-dialog-centered" role="document" style="max-width: 800px">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">发送邮件给<%= @feedback&.user&.mail%></h5>
<h5 class="modal-title">
发送邮件给<%= @feedback&.user&.mail%>
<% if @feedback&.user&.mail.end_with?('@example.org') || @feedback&.user&.mail.end_with?('@gitlink.org.cn')%>
<span style="color: red">(该邮箱不可用)</span>
<% end %>
</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>


Loading…
Cancel
Save