Generate <body> CSS class for every action for better styling

This commit is contained in:
Artur Beljajev 2018-08-17 15:39:06 +03:00
parent 1fd6200eef
commit 30fb22af42
6 changed files with 10 additions and 6 deletions

View file

@ -10,7 +10,7 @@
= csrf_meta_tags
= stylesheet_link_tag 'admin-manifest', media: 'all'
= favicon_link_tag 'favicon.ico'
%body{:style => env_style}
%body{:style => env_style, class: body_css_class}
.navbar.navbar-inverse.navbar-static-top{role: "navigation"}
.container
.navbar-header