mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-30 23:01:16 +08:00
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>
This commit is contained in:
@ -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]);
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user