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:
David Montero Crespo 2026-07-30 20:25:52 +02:00
parent 341bebeb39
commit 57d7c93c90
1 changed files with 9 additions and 0 deletions

View File

@ -75,3 +75,12 @@
color: #6e6e73; color: #6e6e73;
letter-spacing: 0.4px; 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;
}