group messages together from the same user
This commit is contained in:
parent
a5d24329c2
commit
341fe868e4
3 changed files with 26 additions and 2 deletions
|
@ -29,6 +29,16 @@ limitations under the License.
|
|||
float: left;
|
||||
}
|
||||
|
||||
.mx_MessageTile_continuation {
|
||||
margin-top: 8px ! important;
|
||||
}
|
||||
|
||||
.mx_MessageTile_continuation .mx_MessageTile_avatar,
|
||||
.mx_MessageTile_continuation .mx_SenderProfile
|
||||
{
|
||||
display: none ! important;
|
||||
}
|
||||
|
||||
.mx_MessageTile .mx_SenderProfile {
|
||||
color: #acacac;
|
||||
font-size: 13px;
|
||||
|
@ -43,6 +53,8 @@ limitations under the License.
|
|||
}
|
||||
|
||||
.mx_MessageTile_content {
|
||||
padding-right: 100px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mx_MessageTile_sending {
|
||||
|
|
|
@ -52,7 +52,8 @@ module.exports = React.createClass({
|
|||
mx_MessageTile: true,
|
||||
mx_MessageTile_sending: this.props.mxEvent.status == 'sending',
|
||||
mx_MessageTile_notSent: this.props.mxEvent.status == 'not_sent',
|
||||
mx_MessageTile_highlight: this.shouldHighlight()
|
||||
mx_MessageTile_highlight: this.shouldHighlight(),
|
||||
mx_MessageTile_continuation: this.props.continuation,
|
||||
});
|
||||
return (
|
||||
<div className={classes}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue