diff --git a/lib/stylesheet/compiler.rb b/lib/stylesheet/compiler.rb index e886c6bdcef..5aff8dfdba4 100644 --- a/lib/stylesheet/compiler.rb +++ b/lib/stylesheet/compiler.rb @@ -11,8 +11,9 @@ module Stylesheet error.gsub!("\n", '\A ') error.gsub!("'", '\27 ') - "footer { white-space: pre; } - footer:after { content: '#{error}' }" + "#main { display: none; } + body { white-space: pre; } + body:before { font-family: monospace; content: '#{error}' }" end def self.compile_asset(asset, options = {})