lib/rails-footnotes/footnotes.rb in rails3-footnotes-4.0.0.pre.1 vs lib/rails-footnotes/footnotes.rb in rails3-footnotes-4.0.0.pre.2

- old
+ new

@@ -78,11 +78,11 @@ end # Logs the error using specified title and format # def log_error(title, exception) - Rails.logger.error "#{title}: #{exception}\n#{exception.backtrace.join("\n")}" + ::Rails.logger.error "#{title}: #{exception}\n#{exception.backtrace.join("\n")}" end # If none argument is sent, simply return the prefix. # Otherwise, replace the args in the prefix. # @@ -185,12 +185,12 @@ def insert_styles #TODO More customizable(reset.css, from file etc.) insert_text :before, /<\/head>/i, <<-HTML <!-- Footnotes Style --> <style type="text/css"> - #footnotes_debug {font-size: 11px; font-weight: normal; margin: 2em 0 1em 0; text-align: center; color: #444; line-height: 16px;} - #footnotes_debug th, #footnotes_debug td {color: #444; line-height: 18px;} - #footnotes_debug a {color: #9b1b1b; font-weight: inherit; text-decoration: none; line-height: 18px;} + #footnotes_debug {font-size: 1em; font-weight: normal; margin: 2em 0 1em 0; text-align: center; color: #444; line-height: 16px;} + #footnotes_debug th, #footnotes_debug td {color: #444; line-height: 1.5em;} + #footnotes_debug a {color: #9b1b1b; font-weight: inherit; text-decoration: none; line-height: 1.5em;} #footnotes_debug table {text-align: center;} #footnotes_debug table td {padding: 0 5px;} #footnotes_debug tbody {text-align: left;} #footnotes_debug .name_values td {vertical-align: top;} #footnotes_debug legend {background-color: #fff;}