-<div>
- <div class="mb-m">
- @include('comments.comment', ['comment' => $branch['comment']])
+{{--
+$branch CommentTreeNode
+--}}
+<div class="comment-branch">
+ <div>
+ @include('comments.comment', ['comment' => $branch->comment])
</div>
- @if(count($branch['children']) > 0)
- <div class="flex-container-row">
- <div class="pb-m">
- <div class="comment-thread-indicator fill-height"></div>
- </div>
- <div class="flex">
- @foreach($branch['children'] as $childBranch)
- @include('comments.comment-branch', ['branch' => $childBranch])
- @endforeach
- </div>
+ <div class="flex-container-row">
+ <div class="comment-thread-indicator-parent">
+ <div class="comment-thread-indicator"></div>
</div>
- @endif
+ <div class="comment-branch-children flex">
+ @foreach($branch->children as $childBranch)
+ @include('comments.comment-branch', ['branch' => $childBranch])
+ @endforeach
+ </div>
+ </div>
</div>
\ No newline at end of file