diff options
author | Cherrg <michael@gnehr.de> | 2019-06-21 15:27:47 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-06-21 21:27:47 +0800 |
commit | d14595514e35810fbcf1dc0d7e3ba8ada4f08c07 (patch) | |
tree | cee64d82d6054d1413fc76deabd6e83918812633 /public/js | |
parent | a25b3d4c725483a4203ba6f02021a494e2e05b3a (diff) | |
download | gitea-d14595514e35810fbcf1dc0d7e3ba8ada4f08c07.tar.gz gitea-d14595514e35810fbcf1dc0d7e3ba8ada4f08c07.zip |
Dark theme markdown fixes (#7260)
* fix colors in dark theme - tables inside rendered markdown
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* fix colors in dark theme - simpleMDE rendered preview
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Update public/less/themes/arc-green.less
remove scroll bar color, to add this globally on additional PR
Co-Authored-By: Lauris BH <lauris@nix.lv>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* add missing class name
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/index.js b/public/js/index.js index 28023e1061..3b2527d986 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1144,7 +1144,7 @@ function initWikiForm() { "text": plainText }, function (data) { - preview.innerHTML = '<div class="markdown">' + data + '</div>'; + preview.innerHTML = '<div class="markdown ui segment">' + data + '</div>'; emojify.run($('.editor-preview')[0]); } ); @@ -1224,7 +1224,7 @@ function setSimpleMDE($editArea) { "text": plainText }, function (data) { - preview.innerHTML = '<div class="markdown">' + data + '</div>'; + preview.innerHTML = '<div class="markdown ui segment">' + data + '</div>'; emojify.run($('.editor-preview')[0]); } ); |