mirror of
https://github.com/moparisthebest/kaiwa
synced 2025-02-16 15:10:11 -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);
|
body = htmlify.toHTML(body);
|
||||||
if (this.mentions) {
|
if (this.mentions) {
|
||||||
var existing = htmlify.toHTML(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;
|
return body;
|
||||||
}
|
}
|
||||||
|
@ -1157,6 +1157,10 @@ button.secondary:hover:not(:disabled) {
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
}
|
}
|
||||||
|
.chatBox textarea:focus {
|
||||||
|
transition: none;
|
||||||
|
-webkit-transition: none;
|
||||||
|
}
|
||||||
.chatBox textarea.editing {
|
.chatBox textarea.editing {
|
||||||
background-color: #fffcea;
|
background-color: #fffcea;
|
||||||
border: 1px solid #efe391;
|
border: 1px solid #efe391;
|
||||||
|
@ -262,6 +262,10 @@
|
|||||||
height: 30px
|
height: 30px
|
||||||
padding: 6px 10px
|
padding: 6px 10px
|
||||||
|
|
||||||
|
&:focus
|
||||||
|
transition: none
|
||||||
|
-webkit-transition: none
|
||||||
|
|
||||||
&.editing
|
&.editing
|
||||||
background-color: #fffcea
|
background-color: #fffcea
|
||||||
border: 1px solid #efe391
|
border: 1px solid #efe391
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
# 0.0.1 1387404089194
|
# 0.0.1 1387474672583
|
||||||
|
|
||||||
CACHE:
|
CACHE:
|
||||||
/app.js
|
/app.js
|
||||||
|
Loading…
Reference in New Issue
Block a user