Files
openfoodnetwork/app/views/spree/layouts/bare_admin.html.haml
David Cook 9c573f823a Move .content under main content div
The .content div provides overall page margins and a max width, and is already nested inside the nav menus (this allows the nav background to fill the full width of the page.
The main content area should be structured the same way, so we can have flexibility needed to allow some screens to use the full page.

This doesn't seem to change the layout of any screens in the admin interface.

Now the table content can stretch full width
2023-06-28 09:59:57 +10:00

22 lines
762 B
Plaintext

%html{ lang: "en", "ng-csp": "no-unsafe-eval" }
%head= render :partial => 'spree/admin/shared/head'
%body.admin{"data-turbo": "false", "data-ajax-root-path": main_app.root_path}
#wrapper
= render partial: "admin/shared/flashes", locals: { flashes: flash }
= render partial: "spree/layouts/admin/progress_spinner"
%header#header
.container
%figure.columns.five
= link_to image_tag(Spree::Config[:admin_interface_logo], id: 'logo'), spree.admin_dashboard_path
%nav.columns.eleven.admin-login-navigation-bar
= render partial: "spree/layouts/admin/login_nav"
#content
.row
.container
%div{:class => "sixteen columns"}
= yield
%div