mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 22:21:01 +00:00
Merge pull request #4318 from overleaf/pr-fix-review-panel-preview
Force visible overflow in the editor container GitOrigin-RevId: 7509f428fdce211b1443324eb92bc622af6159f1
This commit is contained in:
parent
532822269b
commit
d257884dce
1 changed files with 8 additions and 0 deletions
|
@ -667,3 +667,11 @@ CodeMirror
|
|||
bottom: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
// The source editor container is managed by jQuery's UI layout library, which adds an `overflow: hidden`
|
||||
// rule to it. This is problematic because we need overflowing content to be visible (the review panel
|
||||
// previews are shown on hover, visually outside the source editor container). As the `overflow: hidden`
|
||||
// rule is added automatically (inline and not configurable), the only workaround is to use `!important`.
|
||||
.editor-container {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue