Problem/Motivation
Just recently a fix was committed to make sure we respect the navigation on the left in #3529285: Navigation left sidebar goes over the left sidebar. It seems like we are now using drawers instead of sidebars (#3529049: Replace sidebars modals by drawers ) so we need to add some CSS for the drawer that has placement="start" attribute.
Steps to reproduce
- Have Navigation bar on the left
- Click e.g. Libraries button
Proposed resolution
Add CSS in extra drawer.css file so Drupal's CSS variable will be respected.
Note that there was no RTL support added since this seems to be an untouched topic yet.
User interface changes
The drawer on the left is not behind the navigation.
| Comment | File | Size | Author |
|---|---|---|---|
| #24 | Screenshot 2025-07-22 091457.jpeg | 70.93 KB | ronraney |
| #23 | Screenshot 2025-07-22 091147.jpeg | 73.52 KB | ronraney |
Issue fork display_builder-3531467
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
yannickooComment #4
yannickooComment #5
mogtofu33 commentedComment #6
_izaac commentedThis has been tested and works fine.
Comment #7
pdureau commentedComment #8
pdureau commentedComment #9
mogtofu33 commentedIt's working well when navigation is collapsed but when opened there is a displacement problem, probably to see for the size handling in assets/js/drawer.js


Comment #10
yannickooI can confirm that we need to investigate here because of the size calculation with the new navigation :/
Comment #11
goz commentedI see two ways to deal with that.
What do you think about this ?
Comment #12
mogtofu33 commentedI like the second option, keep in front.
First option involve reading the variable value in drawer.js (--drupal-displace-offset-left) and add it to the margin left and with set by js. Which seems too much.
Comment #13
mogtofu33 commentedComment #14
pdureau commentedComment #15
mogtofu33 commentedComment #18
goz commentedComment #19
pdureau commentedComment #20
mogtofu33 commentedComment #22
ronraney commentedI added as a patch, cleared cache, but it's still there. Is this part of the main alpha release? I will attach a screenshot of what I see.
Comment #23
ronraney commentedComment #24
ronraney commentedComment #25
yannickooI can confirm that the fix is not there anymore, I think this has been changed in this here #3536519: Z index problems
Comment #26
yannickooI have created a new follow-up issue to handle this after the refactoring: #3538195: Z-index is still too low to cover Navigation bar