Skip to content

Display bug in line numbering #1886

Closed
Closed
@webmozart

Description

@webmozart

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 the width of td.linenos from 35px to 36px. The min-width should probably be adjusted too.

With three digit line numbers, the display breaks again. The minimum width that works here for "999" is 44px.

On a related note: YAML and XML snippets are missing line numbers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions