This project is not covered by Drupal’s security advisory policy.
Front-theme fixes for Drupal core Navigation (and optionally Gin / Gin Toolbar) when admin chrome appears outside /admin.
Where it helps
Typical front routes where editors still see Gin / Navigation chrome - and what this module puts (or cleans up) in the top bar:
- Node preview - full-bleed preview bar with sidebar-aware padding so "Back to content editing" is not under #admin-toolbar; hides the empty top-bar gap under the preview strip.
- Node view - entity title context stays usable with Gin chrome; larger padding-inline-end so Edit / local actions clear classic scrollbars; sticky front header stays aligned via displace.
- Views listing (page display) - view title in the top bar plus a featured Edit (Views UI), so listing pages are not a blank Gin strip with no context.
- Webform / form page - form title (and status when relevant) in the top bar, with Build / local tasks promoted the same way core does Edit on nodes.
Without these TopBar items, Views listings and Webform routes often render Gin Toolbar's empty shell (a blank ~54px strip) because core Navigation only wires title + featured Edit for a few entity routes.
Other fixes
- Empty Gin shell - overrides gin_toolbar's unconditional top-bar template so routes with no tools/context/actions do not leave that blank strip.
- Displace - below 64rem, zeroes --drupal-displace-offset-top when Gin's Navigation top bar is in-flow, so sticky front chrome does not leave a hole.
Post-installation
Enable the module. No configuration form. Pin sticky front chrome with: top: var(--drupal-displace-offset-top, 0);
Additional requirements
Requires Drupal core Navigation (^11.4). Optional: Gin, Gin Toolbar, Views UI, Webform.
Similar projects
Complements Gin Toolbar (shows Gin admin chrome on front routes). This module fixes preview, top bar content for node / Views / Webform, empty shell, and displace for sticky front themes.
Project information
- Project categories: Administration tools
- Ecosystem: Gin Toolbar
- Created by bronismateusz on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Full-bleed node preview against Gin form width; Stylelint CI fixes.




