Closed ajcastro closed 1 year ago
Hello there! Thanks for opening your first issue on this repo!
Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.
Backpack communication channels:
backpack-for-laravel
tag;Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.
Thank you!
-- Justin Case The Backpack Robot
I am doing a cleanup of old issues. Sorry this didn't get prioritized at that moment.
We have revamped the whole theme system for Backpack v6 https://backpackforlaravel.com/docs/6.x/base-themes#about-1
Let us know if v6 themes brings the flexibility needed for your custom designs. 🙏
Cheers
Bug report
What I did
I have a freshly installed Laravel 8 and install laravel backpack. I am using PHP 8.0
I tried to produce the same CoreUI look based from https://backpackforlaravel.com/docs/4.1/base-how-to#inspired-by-coreui . I copied the following config:
Then I used the
blue-bundle.css
I expect the sidebar to be black but it looks like this instead (in the docs sidebar should be black/dark),
I also noticed that the
sidebar_class
it does not havesidebar-pills
unlike other theme examples. This seems to remove the left margin/padding and result to this: No sidebar-pills, when the sidebar is hidden: Left padding/margin is missing No sidebar-pills, when the sidebar is visible:So I tried adding
sidebar-pills
but it didn't fix it.With sidebar-pills, when the sidebar is hidden: the left padding/margin looks better With sidebar-pills, when the sidebar is visible: The sidebar links become blue but it should be white
Is it a bug in the latest version of Backpack?
Yes
After I run
composer update backpack/crud
the bug... is it still there? YesBackpack, Laravel, PHP, DB version
Backpack: 4.1.62 Laravel: 8.76.2 PHP: 8.0 DB: MySQL 5.7
When I run
php artisan backpack:version
the output is:I'll also try to debug and see if I can solve it. But I also would like to report it first. This package is really great and would like to use it for my commercial projects. Thanks!