Closed florianrusch closed 4 years ago
I guess if you change the view on prod it gets somehow persistet in the session? So its done manually by you
Oh sh**t... I forgot that there are this resizer things on the left and right 🙈 With just a click on it, it spread to the full width.
Is there any way, to disable this resizer and use always the full width?
Is there any way, to disable this resizer and use always the full width?
Same question :)
The only possibility seems to be to overwrite this template with a custom one without this script block and this css classes for the body tag easyadmin-content-width-full easyadmin-sidebar-width-normal
.
Yes, thank you, I found that too, but I expected better.
@smartiniRDR @florianrusch we prefer to keep the current behavior and let the end user decide if they want to see the backend full-wide or normal-wide. Even if you have a strong decision about which width to use ... sometimes you may need to change it to better browse the information.
Also, we think this option has a nice and unobtrusive user experience because it's almost invisible (it doesn't bother you much) but it's always there when you need it. Thanks for understanding this decision.
But what do if I want to make screen "full" by default, not "normal"? Can't find the clean way to do this. Have any idea?
P.S. I'm using 3.*
There is a pending pull request (#3905) which adds this feature and we might merge it.
Describe the bug I've done nothing special for the design of easyAdmin, but in the prod environment the css class
easyadmin-content-width-full
is missing:Dev:
Prod:
I've already checked if there is maybe different versions installed, but the installed packages are all the same as on dev.
To Reproduce I've running on this versions:
This is the first part of my
easy_admin.yaml
:In the
admin.css
I've just styled the pagination a little bit - nothing special.I've updated the prod installation with this commands:
And this is my
composer.json
:(OPTIONAL) Additional context Dev:
Prod: