mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-14 12:04:46 +00:00
Allow CodeMirror to manage positioning the spell check context menu (#7440)
GitOrigin-RevId: b4153741cf67bc355e4a08efe51bb33a16c991f6
This commit is contained in:
parent
af3f549c5b
commit
72f6d89e78
1 changed files with 11 additions and 0 deletions
|
@ -98,6 +98,17 @@ button.dropdown-toggle.dropdown-toggle-no-background {
|
|||
}
|
||||
}
|
||||
|
||||
// This removes positioning, display and z-index, which is used just to style the menu in situations where something
|
||||
// else is managing that stuff (e.g. the spelling context menu in CodeMirror 6).
|
||||
.dropdown-menu.dropdown-menu-unpositioned {
|
||||
position: unset;
|
||||
top: unset;
|
||||
left: unset;
|
||||
z-index: unset;
|
||||
display: block;
|
||||
float: unset;
|
||||
}
|
||||
|
||||
// Hover/Focus state
|
||||
.dropdown-menu > li > a,
|
||||
.dropdown-menu .dropdown-menu-button {
|
||||
|
|
Loading…
Add table
Reference in a new issue