- 🇺🇸United States mortona2k Seattle
What about .dialog-off-canvas-main-canvas?
It is added to the page element via a theme wrapper, in system.module, and wraps the page template in a class. We are adding .responsive_menu_page_wrapper to page in an html preprocess in responsive_menu.module. This appears to clobber the .dialog-off-canvas-main-canvas class.
Would it be appropriate to use Drupal's off canvas setup instead of coming up with our own?
- 🇮🇹Italy tanc Italy
As this module is wholly built around a 3rd party library called mmenu there definitely aren't the resources and/or desire to port any of that code to Drupal's off-canvas system.
However the issue of Drupal's off-canvas getting clobbered by our preprocess is definitely an issue to be resolved.
- Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - 🇩🇪Germany vistree
As a workaround for Gin users:
create file /sites/default/files/gin-custom.css with#mm-0.mm-slideout { padding-top: 0 !important; }
This file is automatically loaded by Gin - and only if you are logged in.