Opened 8 years ago

Closed 7 years ago

#1312 closed defect (fixed)

Wiki CSS breaks when the wiki page starts with <enscript ...>

Reported by: Mario Domenech Goulart Owned by: arthurmaciel
Priority: minor Milestone: someday
Component: wiki Version:
Keywords: wiki, CSS Cc:
Estimated difficulty: medium

Description

As noticed by Kooda, an element marked up with <enscript ...> right at the start of a wiki page looks weird. A workaround is to add any other element before <enscript ...>.

Exemple: if the page title is removed from https://wiki.call-cc.org/Python-like%20generators (the workaround has been applied to this page -- a title has been added), the the visual width of the <enscript ...> element is smaller than it should actually be.

Attachments (1)

chicken.css (101.0 KB) - added by arthurmaciel 7 years ago.
New CSS file to fix bug.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago by sjamaan

Estimated difficulty: medium

Changed 7 years ago by arthurmaciel

Attachment: chicken.css added

New CSS file to fix bug.

comment:2 Changed 7 years ago by arthurmaciel

This is a corner case for <pre> elements as first-child of <div id="content">. The attached CSS fixes the problem without changing overall design.

comment:3 Changed 7 years ago by sjamaan

Resolution: fixed
Status: newclosed

Thanks, updated. This fixes the problem

Note: See TracTickets for help on using tickets.