From 43bb8c0ab22fc40f21a4334d8a5df81b6435839c Mon Sep 17 00:00:00 2001 From: David <33458145+davidmcpowell@users.noreply.github.com> Date: Tue, 8 Oct 2024 13:23:21 +0100 Subject: [PATCH] Merge pull request #20803 from overleaf/dp-resolved-comments-scroll Add a max-height and scroll to tracked changes menu GitOrigin-RevId: 93d4be0f057f4785a8d383f718078619467f3e2a --- .../frontend/stylesheets/app/editor/review-panel-new.less | 5 +++++ 1 file changed, 5 insertions(+) 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 4883489c80..c0c72aec1c 100644 --- a/services/web/frontend/stylesheets/app/editor/review-panel-new.less +++ b/services/web/frontend/stylesheets/app/editor/review-panel-new.less @@ -140,11 +140,16 @@ border-bottom: 1px solid @rp-border-grey; background-color: white; text-align: center; + z-index: 4; } // TODO: Update this when we move the track changes menu to the new design .rp-tc-state { background-color: white; + max-height: calc( + 100vh - var(--review-panel-top) - @review-panel-header-height + ); + overflow-y: auto; } .review-panel-tools {