Project

General

Profile

Actions

Feature #2051

closed

Code view/pre div width

Added by Christoph Kappel about 16 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-10-19
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

The width for "pre" is set to 95% and this doesn't work well with enabled TOC. (div.wiki pre/application.css:456)
With visible TOC "pre" elements will appear below the TOC and not next to it.

My suggestion is to set the width to auto to fix it.


Related issues

Has duplicate Redmine - Defect #5795: Long wiki TOC and <pre> section breaks layoutClosed2010-07-01

Actions
Actions #1

Updated by Harald Lapp about 16 years ago

this bug behaves different on different browsers:

  • safari: the code box is positioned above the toc, which is very annoying, because you -- of course -- can't read the toc in this case
  • firefox: the code box is pushed down -- which breaks the layout, somehow

i second the suggestion to set the width to 'auto'. this should fix this in both browsers.

Actions #2

Updated by Christoph Kappel over 15 years ago

It can't be to difficult to fix this - I have to change it manually everytime I update Redmine..

Actions #3

Updated by Matthias Geier over 13 years ago

Is there a work-around (without changing the Redmine installation) until this gets fixed?

BTW, I think this one is a duplicate: #5795.

Actions #4

Updated by Etienne Massip over 13 years ago

  • Target version set to Candidate for next minor release

Right, thanks.

Actions #5

Updated by Jean-Philippe Lang over 13 years ago

Looks like it was done some time ago in r3615.
Anyone can confirm ?

Actions #6

Updated by Etienne Massip over 13 years ago

Can't reproduce with trunk, indeed.

Matthias, could you please give some more details ?

Actions #7

Updated by Etienne Massip over 13 years ago

  • Target version deleted (Candidate for next minor release)
Actions #8

Updated by Daniel Felix about 12 years ago

Well i think, this ticket could be closed too. Doesn't it?

Actions #9

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from New to Closed

Indeed.

Actions

Also available in: Atom PDF