diff options
author | Go MAEDA <maeda@farend.jp> | 2024-06-19 14:06:08 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-06-19 14:06:08 +0000 |
commit | 07307140b97ef8de5a952ae06ddc674bdc2b3f45 (patch) | |
tree | a6443dc087cc9a5e42abbd4858f16d0d77104b0a /app/assets | |
parent | b3308d126a458d2b68cdb855a7c93d43335899e9 (diff) | |
download | redmine-07307140b97ef8de5a952ae06ddc674bdc2b3f45.tar.gz redmine-07307140b97ef8de5a952ae06ddc674bdc2b3f45.zip |
Fix misalignment issue when displaying the table of contents (TOC) on the right of wiki page (#34473).
Patch by Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22885 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/application.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 2d82fba7d..8ab85f269 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1405,8 +1405,10 @@ div.wiki ul.toc { } * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */ -div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; } -div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; } +div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; clear: right +;} +div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; clear: left + ; } div.wiki ul.toc ul { margin: 0; padding: 0; } div.wiki ul.toc li {list-style-type:none; margin: 0; font-size:12px;} div.wiki ul.toc>li:first-child {margin-bottom: .5em; color: #777;} |