fix(editor): corner-box dropdowns open upward
The language menu and the account menu were written for the top bar and open downward; from the bottom-left corner box that means straight off the bottom of the viewport. The language menu flips via a scoped CSS rule; the account menu (pro) now anchors bottom-up whenever its trigger sits in the lower half of the screen.
This commit is contained in:
parent
341bebeb39
commit
57d7c93c90
|
|
@ -75,3 +75,12 @@
|
|||
color: #6e6e73;
|
||||
letter-spacing: 0.4px;
|
||||
}
|
||||
|
||||
/* Inside the editor's bottom-left corner box the switcher sits at the
|
||||
bottom edge of the screen — the menu must drop UP or it opens straight
|
||||
into the void below the viewport. */
|
||||
.editor-corner-box .velxio-language-menu {
|
||||
top: auto;
|
||||
bottom: 110%;
|
||||
margin: 0 0 6px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue