summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-01 16:46:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-01 16:46:46 +0000
commit48fb20f5407ce8905755d91149dc7f8c7915c6d0 (patch)
tree6dc055026908cbd31fdb3ad7ddcd720f49ceb1ef /public
parent0fc93a119753ba8e8853d1a745c1b0ecfbee0d12 (diff)
downloadredmine-48fb20f5407ce8905755d91149dc7f8c7915c6d0.tar.gz
redmine-48fb20f5407ce8905755d91149dc7f8c7915c6d0.zip
Fixed TOC positionning in wiki pages.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@791 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/application.css10
1 files changed, 4 insertions, 6 deletions
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 2eef7ffe3..d31e3a320 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -310,14 +310,12 @@ div.wiki div.toc {
line-height: 1.2em;
margin-bottom: 12px;
margin-right: 12px;
- float: left;
+ display: table
}
+* html div.wiki div.toc { width: 50%; } /* IE6 doesn't autosize div */
-div.wiki div.toc.right {
- float: right;
- margin-left: 12px;
- margin-right: 0;
-}
+div.wiki div.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
+div.wiki div.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
div.wiki div.toc a {
display: block;