Merge pull request #14055 from overleaf/td-review-panel-editor-horizontal-scroll

React review panel: prevent horizontal scrollbar

GitOrigin-RevId: b79b03e6a69b26bda58d8585adc14b351b2e6f86
This commit is contained in:
Tim Down 2023-07-27 10:54:53 +01:00 committed by Copybot
parent ac919ed21a
commit e7479c789f

View file

@ -1213,9 +1213,7 @@ button when (@is-overleaf-light = true) {
.ol-cm-review-panel {
position: relative;
z-index: 6;
display: block;
flex-shrink: 0;
flex-direction: column;
background-color: @rp-bg-blue;
border-left: solid 0 @rp-border-grey;
@ -1263,6 +1261,13 @@ button when (@is-overleaf-light = true) {
}
&.rp-current-file-container {
display: none;
.rp-size-mini &,
.rp-size-expanded & {
display: block;
}
.review-panel-toolbar {
position: sticky;
top: 0;