From 9c2990e3f8c2d49957abfa2170d3293a6ce71a16 Mon Sep 17 00:00:00 2001 From: yystopf Date: Tue, 27 Aug 2024 16:31:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=8F=8D=E9=A6=88=E8=BE=93=E5=85=A5=E6=A1=86=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/admin.scss | 7 +++++++ app/views/admins/feedbacks/_history_form_modal.html.erb | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 8719d767e..7b0ee0300 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -40,6 +40,13 @@ body { } } } +.editormd .CodeMirror{ + margin-top: 35px!important; +} + +.CodeMirror-gutter .CodeMirror-linenumbers { + width: 28px!important; +} input.form-control { font-size: 14px; diff --git a/app/views/admins/feedbacks/_history_form_modal.html.erb b/app/views/admins/feedbacks/_history_form_modal.html.erb index df12a73d3..c5304bfc4 100644 --- a/app/views/admins/feedbacks/_history_form_modal.html.erb +++ b/app/views/admins/feedbacks/_history_form_modal.html.erb @@ -2,7 +2,12 @@