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

This commit is contained in:
yystopf 2024-08-27 16:31:56 +08:00
parent 2ee2a5f3f3
commit 9c2990e3f8
2 changed files with 13 additions and 1 deletions

View File

@ -40,6 +40,13 @@ body {
} }
} }
} }
.editormd .CodeMirror{
margin-top: 35px!important;
}
.CodeMirror-gutter .CodeMirror-linenumbers {
width: 28px!important;
}
input.form-control { input.form-control {
font-size: 14px; font-size: 14px;

View File

@ -2,7 +2,12 @@
<div class="modal-dialog modal-dialog-centered" role="document" style="max-width: 800px"> <div class="modal-dialog modal-dialog-centered" role="document" style="max-width: 800px">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <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"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>