Removed left-right margin for code element. overflow-* props are set for pre element only.

This commit is contained in:
Alexander Andreev 2021-09-20 16:41:13 +04:00
parent 39e271213e
commit 71b1e0bbad
Signed by: Arav
GPG Key ID: 610DF2574456329F

View File

@ -25,17 +25,15 @@ code,
pre {
font-family: 'Share Tech Mono';
font-size: 1.1rem;
letter-spacing: -1px;
overflow-x: auto;
overflow-y: auto; }
code { margin: 0 .2rem; }
letter-spacing: -1px; }
pre {
border-left: 1px solid var(--primary-color);
padding-left: .25rem;
margin-bottom: .5rem;
margin-left: 1.6rem;
overflow-x: auto;
overflow-y: auto;
white-space: pre; }
article {