diff --git a/src/actions/index.js b/src/actions/index.js index 96712f0..c0345e0 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -848,16 +848,18 @@ export function hideAllWindowTypes( } export function openChatWindow() { + const width = 350; + const height = 350; return openWindow( 'CHAT', '', false, true, { chatChannel: 1, inputMessage: '' }, - window.innerWidth - 350 - 62, - window.innerHeight - 220 - 64, - 350, - 220, + window.innerWidth - width - 62, + window.innerHeight - height - 64, + width, + height, ); } diff --git a/src/core/MString.js b/src/core/MString.js index add59a7..a2cc3f7 100644 --- a/src/core/MString.js +++ b/src/core/MString.js @@ -119,8 +119,6 @@ export default class MString { const chr = this.txt[yEnd]; if (yEnd >= this.txt.length || chr === '\n' - || chr === '[' - || chr === '(' ) { return null; } diff --git a/src/styles/default.css b/src/styles/default.css index 250c92f..8725886 100644 --- a/src/styles/default.css +++ b/src/styles/default.css @@ -680,7 +680,7 @@ tr:nth-child(even) { .chatmsg { font-size: 13px; user-select: text; - margin: 0; + margin: 5px 0 0 0; } .chatmsg:hover { background-color: #ececec;