Skip to content

Commit

Permalink
hotfix ayann#2
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioRos-Moku committed Jun 21, 2016
1 parent 5a53d30 commit 0fc44b3
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ include also font awesome
@import "font-awesome";

//in some case should be specified css ( @import "font-awesome.css"; )

include active flat skin js

# active_admin.js
Expand Down
2 changes: 2 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby

require "bundler/setup"
require 'font-awesome-rails'
require "active_admin_flat_skin"

# You can add fixtures and/or initialization code here to make experimenting
Expand All @@ -10,5 +11,6 @@ require "active_admin_flat_skin"
# require "pry"
# Pry.start


require "irb"
IRB.start
1 change: 1 addition & 0 deletions lib/active_admin_flat_skin.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "active_admin_flat_skin/version"
require "font-awesome-rails"

module ActiveAdminFlatSkin
class Engine < ::Rails::Engine
Expand Down
3 changes: 2 additions & 1 deletion vendor/assets/stylesheets/active_admin_flat_skin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
@import "filter";
@import "panel";
@import "overlay_overview";
@import "footer";
@import "footer";
@import "font-awesome";
11 changes: 11 additions & 0 deletions vendor/assets/stylesheets/active_admin_skin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -548,4 +548,15 @@ html {
.cke_toolgroup, .cke_combo_button {
border-radius: 0 !important;
}

#active_admin_content.with_sidebar #sidebar{
width: 100%;
float:right;
order: 1;
}
#active_admin_content.with_sidebar #main_content{
width: 100%;
float: left;
order: 2;
}
}

0 comments on commit 0fc44b3

Please sign in to comment.