From 15567e7d7bf5163b1f106979fa1b679ce29e7956 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 8 Apr 2015 14:14:44 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E6=96=B0=E7=9A=84=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E8=B5=B7=E6=9C=AA=E5=AF=B9=E5=85=B6=202=E3=80=81=E8=80=81?= =?UTF-8?q?=E5=B8=88=E6=96=B0=E5=BB=BA=E4=BD=9C=E4=B8=9A=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?marting-bottom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/bids/_new_homework_form.html.erb | 2 +- .../vendor/assets/javascripts/kindeditor/kindeditor.js | 2 +- public/assets/kindeditor/kindeditor.js | 2 +- public/stylesheets/courses.css | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/bids/_new_homework_form.html.erb b/app/views/bids/_new_homework_form.html.erb index 505fc88a8..129bcec5e 100644 --- a/app/views/bids/_new_homework_form.html.erb +++ b/app/views/bids/_new_homework_form.html.erb @@ -11,7 +11,7 @@

-
  • +
  • <% if edit_mode %> diff --git a/lib/rails_kindeditor/vendor/assets/javascripts/kindeditor/kindeditor.js b/lib/rails_kindeditor/vendor/assets/javascripts/kindeditor/kindeditor.js index e58e4b2be..d5dd1e443 100644 --- a/lib/rails_kindeditor/vendor/assets/javascripts/kindeditor/kindeditor.js +++ b/lib/rails_kindeditor/vendor/assets/javascripts/kindeditor/kindeditor.js @@ -4922,7 +4922,7 @@ KEditor.prototype = { editDiv = K('.edit', container), statusbar = self.statusbar = K('.statusbar', container); container.removeClass('container') - .addClass('ke-container ke-container-' + self.themeType).css('width', width); + .addClass('ke-container ml56 ke-container-' + self.themeType).css('width', width); if (fullscreenMode) { container.css({ position : 'absolute', diff --git a/public/assets/kindeditor/kindeditor.js b/public/assets/kindeditor/kindeditor.js index 680899eee..9bdcff891 100644 --- a/public/assets/kindeditor/kindeditor.js +++ b/public/assets/kindeditor/kindeditor.js @@ -4917,7 +4917,7 @@ KEditor.prototype = { editDiv = K('.edit', container), statusbar = self.statusbar = K('.statusbar', container); container.removeClass('container') - .addClass('ke-container ke-container-' + self.themeType).css('width', width); + .addClass('ke-container ml56 ke-container-' + self.themeType).css('width', width); if (fullscreenMode) { container.css({ position : 'absolute', diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css index c60fca5cc..b9202279c 100644 --- a/public/stylesheets/courses.css +++ b/public/stylesheets/courses.css @@ -316,6 +316,7 @@ a:hover.st_img { border:1px solid #1c9ec7; } .st_boxlist ul li a span{ color:#1c9ec7;} .st_boxlist ul li a:hover span{ color:#ff8e15;} .ml50{ margin-left:50px;} +.ml56{ margin-left:56px !important;} .ml358{ margin-left:358px;} .ml258{ margin-left:254px;} .ml65{ margin-left:65px;}