From a1ab40064e3428940de41020bd48aaa767b1c14a Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 12 Jul 2015 14:52:37 +0100 Subject: [PATCH] fix CSS namespacing --- skins/base/css/molecules/MessageTile.css | 8 ++++---- skins/base/views/molecules/MessageTile.js | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/skins/base/css/molecules/MessageTile.css b/skins/base/css/molecules/MessageTile.css index 84f4ca81..dae12e1a 100644 --- a/skins/base/css/molecules/MessageTile.css +++ b/skins/base/css/molecules/MessageTile.css @@ -18,18 +18,18 @@ limitations under the License. display: table-row; } -.mx_MessageTile .mx_messageTileType { +.mx_MessageTile_content { display: table-cell; } -.mx_MessageTile.sending { +.mx_MessageTile_sending { color: #ddd; } -.mx_MessageTile.not_sent { +.mx_MessageTile_notSent { color: #f11; } -.mx_MessageTile.highlight { +.mx_MessageTile_highlight { color: #00f; } diff --git a/skins/base/views/molecules/MessageTile.js b/skins/base/views/molecules/MessageTile.js index d1374442..6808ecd9 100644 --- a/skins/base/views/molecules/MessageTile.js +++ b/skins/base/views/molecules/MessageTile.js @@ -50,9 +50,9 @@ module.exports = React.createClass({ } var classes = classNames({ mx_MessageTile: true, - sending: this.props.mxEvent.status == 'sending', - not_sent: this.props.mxEvent.status == 'not_sent', - highlight: this.shouldHighlight() + mx_MessageTile_sending: this.props.mxEvent.status == 'sending', + mx_MessageTile_notSent: this.props.mxEvent.status == 'not_sent', + mx_MessageTile_highlight: this.shouldHighlight() }); return (