Skip to content

Commit

Permalink
fix: debug style for chatinput
Browse files Browse the repository at this point in the history
  • Loading branch information
le-jeu committed Feb 8, 2024
1 parent f978063 commit 4ec0cea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 0 additions & 4 deletions core/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,6 @@ em {
color: #bbb;
}

#chatinput.debug mark {
color: #bbb;
}

#chat td, #chatinput td {
font-size: 13px;
vertical-align: top;
Expand Down
4 changes: 4 additions & 0 deletions plugins/debug-console.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@
white-space: pre-line;
word-break: break-all;
}

#chatinput.debug mark {
color: #bbb;
}
6 changes: 5 additions & 1 deletion plugins/debug-console.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/* global L */

var changelog = [
{
version: '0.2.0',
changes: ['Use channel new API', 'Handle multiline messages'],
},
{
version: '0.1.1',
changes: ['Version upgrade due to a change in the wrapper: added plugin icon'],
Expand Down Expand Up @@ -159,7 +163,7 @@ function setup() {
debugTab.create();
overwriteNative();

$('<style>').prop('type', 'text/css').html('@include_string:debug-console.css@').appendTo('head');
$('<style>').prop('type', 'text/css').text('@include_string:debug-console.css@').appendTo('head');

// emulate old API
window.debug = function () {};
Expand Down

0 comments on commit 4ec0cea

Please sign in to comment.