Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Closed
Labels
Description
When a code block has more than one digit in its line numbers, the display in the docs currently breaks for Google Chrome 22.0.1229.94 under Ubuntu 12.10:
http://i47.tinypic.com/1zg89xf.png
(http://symfony.com/doc/current/components/dependency_injection/types.html)
The issue can be fixed by increasing thewidth
oftd.linenos
from35px
to36px
. Themin-width
should probably be adjusted too.
With three digit line numbers, the display breaks again. The minimumwidth
that works here for "999" is44px
.
On a related note: YAML and XML snippets are missing line numbers.