Media Type

The default stylesheet should be media='all',
rather than media='screen'.
Damned Rails defaults!
This commit is contained in:
Jacques Distler 2009-11-22 00:27:42 -06:00
parent b1b988c672
commit 045dcbf1f5
2 changed files with 1 additions and 2 deletions

View file

@ -22,7 +22,7 @@
}
<%= File.read(RAILS_ROOT + '/public/stylesheets/instiki.css') if @inline_style %>
</style>
<%= stylesheet_link_tag 'instiki' unless @inline_style %>
<%= stylesheet_link_tag 'instiki', :media => 'all' unless @inline_style %>
<%= "<style type='text/css'>#{@style_additions}</style>" if @style_additions %>
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
<%= @web ? @web.additional_style : '' %>

View file

@ -2,7 +2,6 @@
@title = @page.plain_name
@hide_navigation = true
@style_additions = ".newWikiWord { background-color: white; font-style: italic; }"
@inline_style = true
-%>
<%= @renderer.display_content_for_export %>