diff options
author | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-14 22:35:57 +0500 |
---|---|---|
committer | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-14 22:39:44 +0500 |
commit | e214aae719c10953c4c3a7949c9bd02d6983b045 (patch) | |
tree | de67fab11c5866493374d602930b4b5fbc98d05a /web/react/components/file_attachment.jsx | |
parent | bf7ae0711743926cfbb031675cc3320d7a942465 (diff) | |
download | chat-e214aae719c10953c4c3a7949c9bd02d6983b045.tar.gz chat-e214aae719c10953c4c3a7949c9bd02d6983b045.tar.bz2 chat-e214aae719c10953c4c3a7949c9bd02d6983b045.zip |
PLT-963 - Improving scss structure
Diffstat (limited to 'web/react/components/file_attachment.jsx')
-rw-r--r-- | web/react/components/file_attachment.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx index 8abcac8c3..383529212 100644 --- a/web/react/components/file_attachment.jsx +++ b/web/react/components/file_attachment.jsx @@ -49,8 +49,8 @@ class FileAttachment extends React.Component { if (name in self.refs) { var imgDiv = ReactDOM.findDOMNode(self.refs[name]); - $(imgDiv).removeClass('post__load'); - $(imgDiv).addClass('post__image'); + $(imgDiv).removeClass('post-image__load'); + $(imgDiv).addClass('post-image'); var width = this.width || $(this).width(); var height = this.height || $(this).height(); @@ -134,7 +134,7 @@ class FileAttachment extends React.Component { thumbnail = ( <div ref={filename} - className='post__load' + className='post-image__load' style={{backgroundImage: 'url(/static/images/load.gif)'}} /> ); |