Skip to content

Commit

Permalink
Changing active_admin.css to media type 'screen' so it's not overwrit…
Browse files Browse the repository at this point in the history
…ing print styles
  • Loading branch information
nathancarnes committed Feb 24, 2012
1 parent cb6aeb6 commit 42d90e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_admin/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def dashboard_section(name, options = {}, &block)
private

def register_default_assets
register_stylesheet 'active_admin.css', :media => 'all'
register_stylesheet 'active_admin.css', :media => 'screen'

if !ActiveAdmin.use_asset_pipeline?
register_javascript 'jquery.min.js'
Expand Down

0 comments on commit 42d90e8

Please sign in to comment.