Repository navigation
v2.18.2
[2.18.2] — 2026-11-09
Patch release from a consumer report: drawers on phones. Nothing changes on desktop; republish the assets (php artisan martis:publish-assets). Read Upgrading to v2.18.2.
Fixed
- A drawer was wider than a phone.
DrawerShelllocked the panel to its configured width (config('martis.drawer.width'), 720px by default) withmin-widthandflex-basis, which beat itsmax-width: 100vw, so on a 390px screen the left part of every drawer (title, labels, the start of each line) was off screen. At 768px or less (the layout's mobile breakpoint) a drawer is now the full viewport and hides the expand and fullscreen buttons; above that its width ismin(<configured>, 100vw). The panel is100dvhtall, so the iOS address bar no longer hides the footer. Applies to every drawer: create, update, detail, quick and action drawers. - The page scrolled behind an open drawer. On iOS Safari a swipe scrolled the page under the backdrop instead of the drawer body. While a drawer is open the document is now pinned (
position: fixedat the saved offset, sinceoverflow: hiddenalone does not stop iOS) and restored at the same scroll position on close; the drawer body contains its own overscroll and the backdrop ignores touch scrolling. The lock is reference-counted, so a drawer opened from a drawer holds one lock with it, and the mobile sidebar now uses the same lock instead of writingbody.style.overflow.