config.ru in stoor-0.1.3 vs config.ru in stoor-0.1.4
- old
+ new
@@ -43,10 +43,12 @@
use Rack::Session::Cookie, :domain => domain, :key => 'rack.session', :secret => secret, :expire_after => expire_after
use Stoor::GithubAuth
use Stoor::GitConfig
use Stoor::Decorate
-use Stoor::FixCssWidth if ENV['STOOR_WIDE']
+if ENV['STOOR_WIDE']
+ use Stoor::AddAfter, /<body>/, '<style type="text/css">#wiki-wrapper { width: 90%; } .markdown-body table { width: 100%; }</style>'
+end
Precious::App.set(:gollum_path, wiki_path)
Precious::App.set(:default_markup, :markdown)
Precious::App.set(:wiki_options, { :universal_toc =>false })
run Precious::App