Skip to content

drawer-inside & drawer-right causing drawer-controls wrong scale #24

@Dinkelborg

Description

@Dinkelborg

When using a nested drawer, the drawer controls width does not scale correctly in accordance to the panel the drawer is nested in. This doesn't show normally when the controls are left-aligned, however, if the controls are right aligned using the "drawer-right" class, the menu button will shift over the bounds of the panel, causing it to be only half visible if the panel doesn't fill the whole page.

Reproduction:

  • create a row
  • create a col-lg-6 inside
  • create a panel inside the col-lg-6
  • create a drawer inside the panel-body
  • assign classes 'drawer drawer-right drawer-inside dw-xs-5 fold' to the drawer
  • the menu button of the drawer will not be fully visible

Example: https://codepen.io/Dinkelborg/pen/owOQWZ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions