Przeglądaj źródła

Merge pull request #20803 from overleaf/dp-resolved-comments-scroll

Add a max-height and scroll to tracked changes menu

GitOrigin-RevId: 93d4be0f057f4785a8d383f718078619467f3e2a
David 2 lat temu
rodzic
commit
43bb8c0ab2

+ 5 - 0
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 {