Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make backend responsive #474
The backend is now responsive, mobile first. I would still like to rewrite all classes as this isn't BEM, but I'll save that for another issue and PR.
The 'admin__body--container' is the main css Grid container for the content. It has 12 columns. The sub element 'admin_body--main' is by default 12 columns wide. If there is anything present in the sidebar region this container gets the additional class 'admin__body--container--has-sidebar' and a sub element 'admin_body--sidebar'. The 'admin__body--main' element will then be 9 columns wide and the 'admin__body--sidebar 3 columns'
Sub elements like content-listings or fields can inherit/work upon this grid.
There are still some tweaks and alignment improvements to be made in the near future.