-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unnecessary overflow in the admin #776
Comments
This may not be directly related to this issue, but in case others stumble into the same situation that I did... When I had unwanted vertical overflow, it turned out to be my app styles which were applied via the root layout's stylesheet - probably padding on body or similar. I'm now using two separate root layouts - one for admin and one for app - each with their own CSS stylesheets. pipeline :browser do
# ...
plug :put_root_layout, html: {MyAppWeb.Layouts, :app_root}
# ...
end
pipeline :admin do
plug :put_root_layout, html: {MyAppWeb.Layouts, :admin_root}
end
scope "/admin", ERWeb do
pipe_through [:browser, :admin]
backpex_routes()
live_session :default, on_mount: Backpex.InitAssigns do
live_resources "/posts", PostLive
end
end |
Hey@clifinger! Can you verify that the issue is related to your root layout? |
Just keep open, I need to make a new project for a client by tuesday, thank you guys |
Hey, do you have any updates on this? @clifinger |
Describe the bug
Make an overflow even if we don't have overflowing content in
main
tag:To Reproduce
Respect the
Get started Documentation
Expected behavior
No overflow by adding
flex-1
class tomain
:Screenshots

Please complete the following information:
Additional context
Sorry but I don't have time to make a PR
The text was updated successfully, but these errors were encountered: