compound-web
8f4e0510 - Draw the menu's frame over its content, so its size stays as it was

Commit
48 days ago
Draw the menu's frame over its content, so its size stays as it was - The frame is a layer over the content rather than a border: a border took a pixel each side, widening every menu by two. Over the content, a list scrolling inside the menu still can't hide it, which is what the border was for; in WebKit it shows on 636 of 648 rows beside one. - The content scrolls inside the menu rather than the menu itself, so the frame stays put. - Menus that fit are pixel-identical to before again, so their snapshots go back to main's. - A 4px gap between a menu and its submenu, as in the design. - collisionPadding defaults to 0 in the component, as documented. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Author
Parents
Loading