mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-05 19:51:37 +00:00
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:
parent
ac919ed21a
commit
e7479c789f
1 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue