PLT-5356 - Fixing margins for paragraphs (#5217)
* PLT-5356 - Fixing margins for paragraphs * Fixing conflict * Fixing font size for paragraphs
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
36f43edba3
Коммит
baf4b9a453
@@ -313,6 +313,10 @@ export default class RhsComment extends React.Component {
|
||||
);
|
||||
}
|
||||
|
||||
if (PostUtils.isEdited(this.props.post)) {
|
||||
postClass += ' post--edited';
|
||||
}
|
||||
|
||||
let systemMessageClass = '';
|
||||
if (isSystemMessage) {
|
||||
systemMessageClass = 'post--system';
|
||||
|
||||
@@ -341,6 +341,7 @@ export default class RhsRootPost extends React.Component {
|
||||
}
|
||||
|
||||
let compactClass = '';
|
||||
let postClass = '';
|
||||
if (this.props.compactDisplay) {
|
||||
compactClass = 'post--compact';
|
||||
|
||||
@@ -362,6 +363,10 @@ export default class RhsRootPost extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
if (PostUtils.isEdited(this.props.post)) {
|
||||
postClass += ' post--edited';
|
||||
}
|
||||
|
||||
const profilePicContainer = (<div className='post__img'>{profilePic}</div>);
|
||||
|
||||
let flag;
|
||||
@@ -447,11 +452,13 @@ export default class RhsRootPost extends React.Component {
|
||||
</li>
|
||||
</ul>
|
||||
<div className='post__body'>
|
||||
<PostBodyAdditionalContent
|
||||
post={post}
|
||||
message={<PostMessageContainer post={post}/>}
|
||||
previewCollapsed={this.props.previewCollapsed}
|
||||
/>
|
||||
<div className={postClass}>
|
||||
<PostBodyAdditionalContent
|
||||
post={post}
|
||||
message={<PostMessageContainer post={post}/>}
|
||||
previewCollapsed={this.props.previewCollapsed}
|
||||
/>
|
||||
</div>
|
||||
{fileAttachment}
|
||||
<ReactionListContainer
|
||||
post={post}
|
||||
|
||||
Ссылка в новой задаче
Block a user