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 {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user