Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Markdown code not showing properly #192

Copy link
Copy link
@nickvidal

Description

@nickvidal
Issue body actions

Description

The <code> CSS on the page causes problems in design on large and small screens - for example, check out this screenshot:

Image

...and this video on mobile (causes unwanted escaping of the layout horizontally and unexpected left-right scrolling):

https://youtu.be/S-sOQPcsPtQ

@karlhorky has suggested the following CSS changes to improve this design, inspired by GitHub's CSS for <code> elements:

code { font-size: 0.9em; padding: 0.15em 0.3em; border-radius: 6px; max-width: 100%; }
a code { color: var(--wp--preset--color--brand-links); text-decoration: underline; }

I added as a custom CSS for now, and would appreciate it if you could add it as a permanent fix.

Steps to reproduce

No response

What you expected to happen

No response

What actually happened

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.