railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.89k stars 2.25k forks source link

Navbar Garbled on rails_admin 3.1.x #3658

Closed jonmchan closed 10 months ago

jonmchan commented 10 months ago

Describe the bug The navigation bar on the left hand side is all jumbled after upgrading to rails_admin 3.1.2. It worked fine on rails_admin 3.0.0.

Reproduction steps Upgraded from rails_admin 3.0.0 to 3.1.2.

I'm on rails 7 using sprockets.

Expected behavior

Sidebar not to be garbled up.

Additional context

Add any other context about the problem here.

On rails_admin 3.0.0: image

On rails_admin 3.1.2:

image

Tried it also on rails_admin 3.1.0. I see the same issue.

mshibuya commented 10 months ago

It is highly likely that you're using the old CSS from RailsAdmin 3.0.0. How do you build your RailsAdmin assets?

jonmchan commented 10 months ago

@mshibuya thanks for your reply - doing a rake assets:clobber after bundle update did the trick.