Laravel-Backpack / theme-tabler

UI for Backpack v6 that uses Tabler and Bootstrap v5.
MIT License
21 stars 12 forks source link

[Bug] Horizontal Overlap layout brings trouble #59

Closed tabacitu closed 1 year ago

tabacitu commented 1 year ago

We added the horizontal overlap layout because it looks pretty on dashboards and custom views. But it does NOT look pretty on CRUD views.

Plus it adds complexity in the theme config file, because you have to specify all the URLs that use that layout. That... is... confusing. And incomplete. As @pxpm explained in https://github.com/Laravel-Backpack/theme-tabler/pull/58... what do you do about pages with URL segments, like /{id}/edit/?

So what we should probably do in this case... is to make the horizontal overlay layout look good on CRUD pages too, in a non-breaking way. For example, on the List operation it could look like this:

CleanShot 2023-06-12 at 19 13 22@2x

If we only change two things using CSS:

So I think we should

If we do the above... I think this will be pretty enough to use it as the DEFAULT layout. It would be THAT pretty.

tabacitu commented 1 year ago

Fixed in https://github.com/Laravel-Backpack/theme-tabler/pull/60