Media Type
The default stylesheet should be media='all', rather than media='screen'. Damned Rails defaults!
This commit is contained in:
parent
b1b988c672
commit
045dcbf1f5
2 changed files with 1 additions and 2 deletions
|
@ -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 : '' %>
|
||||
|
|
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue