Skip to content

Commit

Permalink
fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
SaD-n-SoliD committed Oct 11, 2024
1 parent 31791f1 commit b922e72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/comments/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ function Comments({ title }) {
onReply={() => callbacks.onShowReplyForm(tree._id)}
// Взаимное расположение комментариев
style={{
marginLeft: COMMENT_MARGIN_LEFT * (level > 2),
marginBottom: COMMENT_MARGIN_BOTTOM
}}
author={tree.author?.profile?.name}
Expand All @@ -99,7 +98,8 @@ function Comments({ title }) {
tree.children.map((node) => (
<div
key={'$' + node._id}
style={{ marginLeft: COMMENT_MARGIN_LEFT * (level > 2) }}
// Взаимное расположение комментариев
style={{ marginLeft: COMMENT_MARGIN_LEFT * (level > 1) }}
>
{renders.recursiveComments(node, level + 1)}

Expand Down

0 comments on commit b922e72

Please sign in to comment.