diff --git a/stylesheets/_conversation.scss b/stylesheets/_conversation.scss index 3eba4ca3c..8c5c8dd43 100644 --- a/stylesheets/_conversation.scss +++ b/stylesheets/_conversation.scss @@ -193,6 +193,11 @@ padding-right: 16px; } +.public-chat-message-wrapper { + padding-left: 10px; + padding-right: 10px; +} + .loki-message-wrapper { display: flow-root; padding-bottom: 4px; diff --git a/ts/components/conversation/FriendRequest.tsx b/ts/components/conversation/FriendRequest.tsx index 982901868..4033ec7fb 100644 --- a/ts/components/conversation/FriendRequest.tsx +++ b/ts/components/conversation/FriendRequest.tsx @@ -176,32 +176,34 @@ export class FriendRequest extends React.Component { const { direction } = this.props; return ( -
- {this.renderError(direction === 'incoming')} +
+ {this.renderError(direction === 'incoming')}
- {this.renderContents()} - {this.renderStatusIndicator()} - {this.renderButtons()} +
+ {this.renderContents()} + {this.renderStatusIndicator()} + {this.renderButtons()} +
+ {this.renderError(direction === 'outgoing')}
- {this.renderError(direction === 'outgoing')}
); } diff --git a/ts/components/conversation/Message.tsx b/ts/components/conversation/Message.tsx index 81263d625..643314c69 100644 --- a/ts/components/conversation/Message.tsx +++ b/ts/components/conversation/Message.tsx @@ -1018,6 +1018,7 @@ export class Message extends React.PureComponent { timestamp, selected, multiSelectMode, + conversationType, } = this.props; const { expired, expiring } = this.state; @@ -1053,6 +1054,10 @@ export class Message extends React.PureComponent { divClasses.push('message-selected'); } + if (conversationType === 'group') { + divClasses.push('public-chat-message-wrapper'); + } + return (