Summary
Wiki CSS breaks when the wiki page starts with <enscript ...>
Metadata
- Id: 701b41f17dd4fc1fc7ea27f7872f190bdb6ce62d
- Trac id: 1312
- Type: defect
- Reporter: mario
- Owner: arthurmaciel
- Cc:
- Status: closed
- Component: wiki
- Estimated difficulty: medium
- Resolution: fixed
- Priority: minor
- Milestone: someday
- Version:
- Changetime: 2016-12-17 11:46:15 UTC
- Created: 2016-08-13 00:59:28 UTC
- Keywords: wiki, CSS
Attachments
- 701b41f17dd4fc1fc7ea27f7872f190bdb6ce62d/attachments/chicken.css
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.
Changes and comments
[2016-08-25 20:21:09 UTC] sjamaan set difficulty to medium
[2016-12-17 01:55:03 UTC] arthurmaciel attached chicken.css (description=New CSS file to fix bug.)
[2016-12-17 01:57:38 UTC] arthurmaciel wrote:
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.
[2016-12-17 11:46:15 UTC] sjamaan changed status from new to closed
[2016-12-17 11:46:15 UTC] sjamaan set resolution to fixed
[2016-12-17 11:46:15 UTC] sjamaan wrote:
Thanks, updated. This fixes the problem