Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct minor post styling regression - inline code tags #767

Closed
Silvyre opened this issue Mar 2, 2020 · 0 comments · Fixed by #786
Closed

Correct minor post styling regression - inline code tags #767

Silvyre opened this issue Mar 2, 2020 · 0 comments · Fixed by #786
Labels
5 min fix Fixable in 5 minutes or less area: front-end good first issue Good for newcomers

Comments

@Silvyre
Copy link
Contributor

Silvyre commented Mar 2, 2020

Currently, <code> tags are styled identically to <pre> tags, leading to posts that look like this:

image

<code> tags should instead be styled inline with text.


code,
pre {
background: rgb(239, 240, 241);
border-bottom-color: rgb(57, 51, 24);
color: rgb(57, 51, 24);
page-break-inside: avoid;
font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono';
font-size: 1.5rem;
line-height: 1.6;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 min fix Fixable in 5 minutes or less area: front-end good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant