diff --git a/lib/gollum/public/gollum/stylesheets/template.scss.erb b/lib/gollum/public/gollum/stylesheets/template.scss.erb index f399f4ef..4518e876 100644 --- a/lib/gollum/public/gollum/stylesheets/template.scss.erb +++ b/lib/gollum/public/gollum/stylesheets/template.scss.erb @@ -79,6 +79,15 @@ a { overflow: hidden; word-wrap: break-word; + /* MediaWiki's TOC table -- this does not pertain to gollum's own TOC functionality */ + table.toc { + width: auto; + display: inline-table; + .anchor { + display: none; + } + } + .anchor { display: inline-block; position: absolute;