diff --git a/services/web/frontend/js/features/review-panel-new/components/review-panel-current-file.tsx b/services/web/frontend/js/features/review-panel-new/components/review-panel-current-file.tsx
index ff8b658c51..9ab29e389f 100644
--- a/services/web/frontend/js/features/review-panel-new/components/review-panel-current-file.tsx
+++ b/services/web/frontend/js/features/review-panel-new/components/review-panel-current-file.tsx
@@ -237,45 +237,47 @@ const ReviewPanelCurrentFile: FC = () => {
}
return (
-
- {addCommentEntries.map(entry => {
- const { id, from, to, value, top } = entry
- return (
-
- )
- })}
-
+ <>
{showEmptyState && }
- {aggregatedRanges.changes.map(
- change =>
- positions.has(change.id) && (
-
+ {addCommentEntries.map(entry => {
+ const { id, from, to, value, top } = entry
+ return (
+
)
- )}
+ })}
- {aggregatedRanges.comments.map(
- comment =>
- positions.has(comment.id) && (
-
- )
- )}
-
+ {aggregatedRanges.changes.map(
+ change =>
+ positions.has(change.id) && (
+
+ )
+ )}
+
+ {aggregatedRanges.comments.map(
+ comment =>
+ positions.has(comment.id) && (
+
+ )
+ )}
+
+ >
)
}
diff --git a/services/web/frontend/stylesheets/app/editor/review-panel-new.less b/services/web/frontend/stylesheets/app/editor/review-panel-new.less
index 9c1645aa19..838d7234a1 100644
--- a/services/web/frontend/stylesheets/app/editor/review-panel-new.less
+++ b/services/web/frontend/stylesheets/app/editor/review-panel-new.less
@@ -350,11 +350,10 @@
}
.review-panel-empty-state {
- position: absolute;
+ position: fixed;
+ width: var(--review-panel-width);
top: 0;
bottom: 0;
- left: 0;
- right: 0;
pointer-events: none;
}