mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-22 01:02:23 -05:00
Fix multiple mentions, chat box resizing
This commit is contained in:
parent
a44440411c
commit
2ce7e90cbd
@ -102,7 +102,8 @@ var Message = module.exports = HumanModel.define({
|
||||
body = htmlify.toHTML(body);
|
||||
if (this.mentions) {
|
||||
var existing = htmlify.toHTML(this.mentions);
|
||||
body = body.replace(existing, '<span class="mention">' + existing + '</span>');
|
||||
var parts = body.split(existing);
|
||||
body = parts.join('<span class="mention">' + existing + '</span>');
|
||||
}
|
||||
return body;
|
||||
}
|
||||
|
@ -1157,6 +1157,10 @@ button.secondary:hover:not(:disabled) {
|
||||
height: 30px;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
.chatBox textarea:focus {
|
||||
transition: none;
|
||||
-webkit-transition: none;
|
||||
}
|
||||
.chatBox textarea.editing {
|
||||
background-color: #fffcea;
|
||||
border: 1px solid #efe391;
|
||||
|
@ -262,6 +262,10 @@
|
||||
height: 30px
|
||||
padding: 6px 10px
|
||||
|
||||
&:focus
|
||||
transition: none
|
||||
-webkit-transition: none
|
||||
|
||||
&.editing
|
||||
background-color: #fffcea
|
||||
border: 1px solid #efe391
|
||||
|
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
# 0.0.1 1387404089194
|
||||
# 0.0.1 1387474672583
|
||||
|
||||
CACHE:
|
||||
/app.js
|
||||
|
Loading…
Reference in New Issue
Block a user