From 4e606894b55ede62ae499b1a7dc577ea12c5d598 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 20 Apr 2015 15:41:57 +0300 Subject: [PATCH] Revamp the main layout --- app/assets/stylesheets/management/_layout.css.scss | 12 ++---------- app/views/layouts/management.html.slim | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/management/_layout.css.scss b/app/assets/stylesheets/management/_layout.css.scss index 1e0de61..933c905 100644 --- a/app/assets/stylesheets/management/_layout.css.scss +++ b/app/assets/stylesheets/management/_layout.css.scss @@ -1,11 +1,3 @@ -.content { - @extend .container-fluid; -} - -@media(min-width:768px) { - #page-wrapper { - position: inherit; - margin: 0 0 0 250px; - padding: 0 30px; - } +main { + @extend .container; } \ No newline at end of file diff --git a/app/views/layouts/management.html.slim b/app/views/layouts/management.html.slim index 84e1858..d81966a 100644 --- a/app/views/layouts/management.html.slim +++ b/app/views/layouts/management.html.slim @@ -16,6 +16,6 @@ html = csrf_meta_tags body = render partial: 'layouts/management/navigation' - div.content#page-wrapper + main == yield = javascript_include_tag "management/application"