PLT-3177 - Fixing ordering for custom themes (#3226)

Fix for bot tag and webhook attachments

Adding theme styling for webhooks

Removing embed styling

Improving margins on compcat view for line breaks
Этот коммит содержится в:
Asaad Mahmood
2016-06-03 16:58:23 +05:00
коммит произвёл Joram Wilander
родитель 0e677f35bb
Коммит 7b99ac0a91
7 изменённых файлов: 19 добавлений и 16 удалений

Просмотреть файл

@@ -38,7 +38,7 @@ export default class PostHeader extends React.Component {
);
}
botIndicator = <li className='col col__name bot-indicator'>{Constants.BOT_NAME}</li>;
botIndicator = <li className='bot-indicator'>{Constants.BOT_NAME}</li>;
} else if (PostUtils.isSystemMessage(post)) {
userProfile = (
<UserProfile

Просмотреть файл

@@ -154,7 +154,7 @@ export default class RhsComment extends React.Component {
let botIndicator;
if (post.props && post.props.from_webhook) {
botIndicator = <li className='col col__name bot-indicator'>{Constants.BOT_NAME}</li>;
botIndicator = <li className='bot-indicator'>{Constants.BOT_NAME}</li>;
}
let loading;
let postClass = '';

Просмотреть файл

@@ -71,7 +71,7 @@ export default class SearchResultsItem extends React.Component {
let botIndicator;
if (post.props && post.props.from_webhook) {
botIndicator = <li className='col col__name bot-indicator'>{Constants.BOT_NAME}</li>;
botIndicator = <li className='bot-indicator'>{Constants.BOT_NAME}</li>;
}
return (