Removed left-right margin for code element. overflow-* props are set for pre element only.
This commit is contained in:
parent
39e271213e
commit
71b1e0bbad
@ -25,17 +25,15 @@ code,
|
|||||||
pre {
|
pre {
|
||||||
font-family: 'Share Tech Mono';
|
font-family: 'Share Tech Mono';
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
letter-spacing: -1px;
|
letter-spacing: -1px; }
|
||||||
overflow-x: auto;
|
|
||||||
overflow-y: auto; }
|
|
||||||
|
|
||||||
code { margin: 0 .2rem; }
|
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
border-left: 1px solid var(--primary-color);
|
border-left: 1px solid var(--primary-color);
|
||||||
padding-left: .25rem;
|
padding-left: .25rem;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
margin-left: 1.6rem;
|
margin-left: 1.6rem;
|
||||||
|
overflow-x: auto;
|
||||||
|
overflow-y: auto;
|
||||||
white-space: pre; }
|
white-space: pre; }
|
||||||
|
|
||||||
article {
|
article {
|
||||||
|
Loading…
Reference in New Issue
Block a user