Parcourir la source

Fix review panel position with new toolbar (#13759)

GitOrigin-RevId: d601ca23953b56b928b5050064100440c1335bba
Alf Eaton il y a 3 ans
Parent
commit
5236cb0ca1

+ 8 - 0
services/web/frontend/stylesheets/app/editor/review-panel.less

@@ -90,6 +90,10 @@
   font-size: @rp-base-font-size;
   font-size: @rp-base-font-size;
   color: @rp-type-blue;
   color: @rp-type-blue;
   z-index: 6;
   z-index: 6;
+
+  .has-source-toolbar & {
+    top: 0;
+  }
 }
 }
 
 
 .loading-panel {
 .loading-panel {
@@ -1096,6 +1100,10 @@ button when (@is-overleaf-light = true) {
   .rp-unsupported & {
   .rp-unsupported & {
     display: none;
     display: none;
   }
   }
+
+  .has-source-toolbar & {
+    top: 32px;
+  }
 }
 }
 
 
 .rp-track-changes-indicator {
 .rp-track-changes-indicator {