Skip to content

Container is broken on pages with long commands #18

@tylersamples

Description

@tylersamples

For instance on: http://bedrocklinux.org/1.0beta2/quickstart.html
Lines such as this are too long and break the display of the site:

# [ -e "/etc/sudoers" ] && echo 'Defaults secure_path="/bedrock/bin:/bedrock/sbin:/bedrock/brpath/pin/bin:/bedrock/brpath/pin/sbin:/usr/local/bin:/opt/bin:/usr/bin:/bin:/usr/local/sbin:/opt/sbin:/usr/sbin:/sbin:/bedrock/brpath/bin:/bedrock/brpath/sbin"' >> /etc/sudoers

If you scroll horizontally you end up getting something like this:
image

Adding word-wrap: break-word; to ul.rcmd would fix this. Is this issue intentional to prevent readers from potentially entering new lines where they shouldn't? I'd more than happily send a PR for any suggested fixes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions