/* Only attached on this module's own front-end routes (see figli_compta_ledger_page_attachments()) -- real Drupal admin pages (/admin/*, node edit forms, etc.) keep all of this as normal. Previously the top-bar rule below was unconditional (attached on every page via admin_chrome), on the assumption that core Navigation's top bar (`.top-bar`) always renders empty -- true on our own pages (no blocks placed there, so whitespace text nodes from the Twig loop scaffolding defeat its own `:not(:empty)` visibility check), but wrong on entity edit forms, where Gin puts the page's local actions (the Save button included) *inside* `.top-bar` -- hiding it there hid Save itself, not just an empty bar. */ .top-bar { display: none !important; } .top-bar ~ .dialog-off-canvas-main-canvas { margin-block-start: 0 !important; } /* The core Navigation module's admin sidebar (#admin-toolbar, ~65px fixed rail) + its collapsed-state control bar and overlay. */ #admin-toolbar, .admin-toolbar-control-bar, .admin-toolbar-overlay { display: none !important; } .dialog-off-canvas-main-canvas { margin-inline-start: 0 !important; } /* Gin's default 80px margin-bottom on
, meant as breathing room below a normal admin content page -- on this app's tight, single-viewport layout (page nav pinned next to the title, table scrolling internally, see .figli-page-nav in admin-chrome.css) it was the last remaining chunk of an *outer* page scroll on top of the table's own, since max-height: 75vh on .figli-table-wrap already accounts for everything else above/below it but not this. */ main.page-content { margin-bottom: 0 !important; } /* Gin's default 48px left/right margin on .layout-container -- fine for a normal admin content page with a narrower reading measure, but this app's table wants the width. Cut to a third (16px). */ .layout-container { margin-left: 16px !important; margin-right: 16px !important; }