Skip to content

Sidebar Menu not wrapping horizontally after changes for Bootstrap 5.2 #3564

@jklimke

Description

@jklimke

Describe the bug
A clear and concise description of what the bug is.

Since the commit d7abba4 the sidebar of rails_admin within my app is broken as it does not add scrolling but the ul list extends horizontally when all the models are extended (i.e., on load of the rails admin dashboard page).

This Image shows the effect.
image

when i remove the "flex-colum" class that was added in the mentioned commit all looks fine again.

image

Reproduction steps

Expected behavior

Sidebar show add vertical scrolling

Additional context

  • rails version: 6.1.7
  • rails_admin version: 3.1.2
  • rails_admin npm package version: 3.1.2

I use webpacker to bundle assets and stylesheets. i checked that bootstrap 5.2.2 was used in the rails admin bundle. The rest of my app is still using bootstrap 4.6 but that is not included in the rails_admin pack.

Add any other context about the problem here.

Any hints why this happens ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions