Skip to content

Commit 98baa0c

Browse files
committed
improve css consistency
1 parent a1ab400 commit 98baa0c

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎examples/custom/CustomMTextTile.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = React.createClass({
2727
render: function() {
2828
var content = this.props.mxEvent.getContent();
2929
return (
30-
<span ref="content" className="mx_MTextTile mx_messageTileType" onClick={this.onClick}>
30+
<span ref="content" className="mx_MTextTile mx_MessageTile_content" onClick={this.onClick}>
3131
{content.body}
3232
</span>
3333
);

‎skins/base/css/organisms/RoomView.css‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License.
1919
position: relative;
2020
}
2121

22-
.mx_RoomHeader {
22+
.mx_RoomView .mx_RoomHeader {
2323
height: 30px;
2424
}
2525

@@ -58,7 +58,7 @@ limitations under the License.
5858
.mx_RoomView_invitePrompt {
5959
}
6060

61-
.mx_MemberList {
61+
.mx_RoomView .mx_MemberList {
6262
-webkit-box-ordinal-group: 2;
6363
-moz-box-ordinal-group: 2;
6464
-ms-flex-order: 2;
@@ -71,12 +71,12 @@ limitations under the License.
7171
height: 100%;
7272
}
7373

74-
.mx_MemberList ul {
74+
.mx_RoomView .mx_MemberList ul {
7575
margin: 0px;
7676
padding: 0px;
7777
}
7878

79-
.mx_MessageComposer {
79+
.mx_RoomView .mx_MessageComposer {
8080
width: 100%;
8181
bottom: 0px;
8282
}

‎skins/base/views/molecules/MEmoteTile.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = React.createClass({
2929
var content = mxEvent.getContent();
3030
var name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
3131
return (
32-
<span className="mx_MEmoteTile mx_messageTileType">
32+
<span className="mx_MEmoteTile mx_MessageTile_content">
3333
* {name} {content.body}
3434
</span>
3535
);

‎skins/base/views/molecules/MNoticeTile.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = React.createClass({
2727
render: function() {
2828
var content = this.props.mxEvent.getContent();
2929
return (
30-
<span ref="content" className="mx_MNoticeTile mx_messageTileType">
30+
<span ref="content" className="mx_MNoticeTile mx_MessageTile_content">
3131
{content.body}
3232
</span>
3333
);

‎skins/base/views/molecules/MRoomMemberTile.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = React.createClass({
4747
<div className="mx_MessageTile">
4848
<MessageTimestamp ts={this.props.mxEvent.getTs()} />
4949
<span className="mx_SenderProfile"></span>
50-
<span className="mx_messageTileType">
50+
<span className="mx_MessageTile_content">
5151
{this.getMemberEventText()}
5252
</span>
5353
</div>

‎skins/base/views/molecules/MTextTile.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = React.createClass({
2727
render: function() {
2828
var content = this.props.mxEvent.getContent();
2929
return (
30-
<span ref="content" className="mx_MTextTile mx_messageTileType">
30+
<span ref="content" className="mx_MTextTile mx_MessageTile_content">
3131
{content.body}
3232
</span>
3333
);

‎skins/base/views/pages/MatrixChat.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ module.exports = React.createClass({
4040
<div className="mx_MatrixChat">
4141
<div className="mx_MatrixChat_chatWrapper">
4242
<div className="mx_MatrixChat_leftPanel">
43-
<MatrixToolbar />
4443
<RoomList selectedRoom={this.state.currentRoom} />
44+
<MatrixToolbar />
4545
</div>
4646
<RoomView roomId={this.state.currentRoom} key={this.state.currentRoom} />
4747
</div>

0 commit comments

Comments
 (0)