🐛 Fix Help & Learning submenu vertical alignment in account menu (#9138)

The submenu opened by hovering Help & Learning in the user account
menu rendered with a vertical offset, making it appear visually
disconnected from its parent row and aligned instead with the
Community

Signed-off-by: Juan Flores <112629487+juan-flores077@users.noreply.github.com>
This commit is contained in:
Juan Flores 2026-04-24 04:17:57 -07:00 committed by GitHub
parent 6c4ab8940d
commit 38d67c8e96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -79,6 +79,7 @@
- Fix copy to be more specific [Taiga #13990](https://tree.taiga.io/project/penpot/issue/13990)
- Allow deleting the profile avatar after uploading [Github #9067](https://github.com/penpot/penpot/issues/9067)
- Fix incorrect rendering when exporting text as SVG, PNG and JPG (by @edwin-rivera-dev) [Github #8516](https://github.com/penpot/penpot/issues/8516)
- Fix "Help & Learning" submenu vertical alignment in account menu (by @juan-flores077) [Github #9137](https://github.com/penpot/penpot/issues/9137)
- Fix plugin `addInteraction` silently rejecting `open-overlay` actions with `manualPositionLocation` [Github #8409](https://github.com/penpot/penpot/issues/8409)
- Fix typography style creation with tokenized line-height (by @juan-flores077) [Github #8479](https://github.com/penpot/penpot/issues/8479)
- Fix colorpicker layout so the eyedropper button is visible again [Taiga #14057](https://tree.taiga.io/project/penpot/issue/14057)

View File

@ -470,8 +470,13 @@
min-width: deprecated.$s-192;
}
// Each submenu is positioned via its bottom edge; the visual top lands
// at `inset-block-end + submenu_height`. Help & Learning (3 items,
// taller) needs the same inset as Community (2 items, shorter) so that
// its top edge sits one row above Community aligning with the
// "Help & Learning" trigger row in the parent menu.
.sub-menu.help-learning {
inset-block-end: deprecated.$s-72;
inset-block-end: deprecated.$s-120;
}
.sub-menu.community {